diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2014-05-08 14:48:32 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2014-05-08 14:48:32 +0000 |
commit | dbe8144c75844c410121fac44db5c29d1977b706 (patch) | |
tree | 75135864090113ec6e057bb9c0fa22ad667995c8 /usr.sbin/snmpctl/snmpclient.c | |
parent | ffa1eed33f1a9dccb3dfa2d8682f0dfbc47d200e (diff) |
Pretty print MIB_ipNetToMediaPhysAddress'es; ok blambert
Diffstat (limited to 'usr.sbin/snmpctl/snmpclient.c')
-rw-r--r-- | usr.sbin/snmpctl/snmpclient.c | 7 |
1 files 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 <reyk@openbsd.org> @@ -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 |