From: mikeb Date: Thu, 8 May 2014 14:48:31 +0000 (+0000) Subject: Pretty print MIB_ipNetToMediaPhysAddress'es; ok blambert X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5d35b49c496543a566c47c0ace4c8f4357c1f6dc;p=openbsd Pretty print MIB_ipNetToMediaPhysAddress'es; ok blambert --- 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