From 5d35b49c496543a566c47c0ace4c8f4357c1f6dc Mon Sep 17 00:00:00 2001 From: mikeb Date: Thu, 8 May 2014 14:48:31 +0000 Subject: [PATCH] Pretty print MIB_ipNetToMediaPhysAddress'es; ok blambert --- usr.sbin/snmpctl/snmpclient.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/usr.sbin/snmpctl/snmpclient.c b/usr.sbin/snmpctl/snmpclient.c index c074859f39f..959af16755a 100644 --- a/usr.sbin/snmpctl/snmpclient.c +++ b/usr.sbin/snmpctl/snmpclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpclient.c,v 1.10 2014/04/30 07:01:34 blambert Exp $ */ +/* $OpenBSD: snmpclient.c,v 1.11 2014/05/08 14:48:31 mikeb Exp $ */ /* * Copyright (c) 2013 Reyk Floeter @@ -88,8 +88,9 @@ struct display_hint { struct ber_oid oid; char *(*print)(char *); } display_hints[] = { - { { { MIB_ifPhysAddress } }, snmpc_physaddress }, - { { { MIB_hrSystemDate } }, snmpc_dateandtime } + { { { MIB_ifPhysAddress } }, snmpc_physaddress }, + { { { MIB_ipNetToMediaPhysAddress } }, snmpc_physaddress }, + { { { MIB_hrSystemDate } }, snmpc_dateandtime } }; void -- 2.20.1