summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpctl/snmpclient.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2014-05-08 14:48:32 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2014-05-08 14:48:32 +0000
commitdbe8144c75844c410121fac44db5c29d1977b706 (patch)
tree75135864090113ec6e057bb9c0fa22ad667995c8 /usr.sbin/snmpctl/snmpclient.c
parentffa1eed33f1a9dccb3dfa2d8682f0dfbc47d200e (diff)
Pretty print MIB_ipNetToMediaPhysAddress'es; ok blambert
Diffstat (limited to 'usr.sbin/snmpctl/snmpclient.c')
-rw-r--r--usr.sbin/snmpctl/snmpclient.c7
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