From f15a076cf31d19f540f5e137c6c1173fb3d5efb0 Mon Sep 17 00:00:00 2001 From: martijn Date: Tue, 23 Mar 2021 22:05:21 +0000 Subject: [PATCH] Add DisplayString/SnmpAdminString in accordance with recent OPENBSD-PF-MIB changes. OK sthen@ --- usr.bin/snmp/mib.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.bin/snmp/mib.h b/usr.bin/snmp/mib.h index 3e8cc5c302e..2ea2632e67a 100644 --- a/usr.bin/snmp/mib.h +++ b/usr.bin/snmp/mib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mib.h,v 1.9 2020/12/14 07:44:26 martijn Exp $ */ +/* $OpenBSD: mib.h,v 1.10 2021/03/23 22:05:21 martijn Exp $ */ /* * Copyright (c) 2007, 2008 Reyk Floeter @@ -1193,7 +1193,7 @@ { MIBDECL(pfStateInserts) }, \ { MIBDECL(pfStateRemovals) }, \ { MIBDECL(pfLogInterface) }, \ - { MIBDECL(pfLogIfName) }, \ + { MIBDECL(pfLogIfName), "DisplayString" }, \ { MIBDECL(pfLogIfIpBytesIn) }, \ { MIBDECL(pfLogIfIpBytesOut) }, \ { MIBDECL(pfLogIfIpPktsInPass) }, \ @@ -1242,7 +1242,7 @@ { MIBDECL(pfIfTable) }, \ { MIBDECL(pfIfEntry) }, \ { MIBDECL(pfIfIndex) }, \ - { MIBDECL(pfIfDescr) }, \ + { MIBDECL(pfIfDescr), "DisplayString" }, \ { MIBDECL(pfIfType) }, \ { MIBDECL(pfIfRefs) }, \ { MIBDECL(pfIfRules) }, \ @@ -1267,7 +1267,7 @@ { MIBDECL(pfTblTable) }, \ { MIBDECL(pfTblEntry) }, \ { MIBDECL(pfTblIndex) }, \ - { MIBDECL(pfTblName) }, \ + { MIBDECL(pfTblName), "SnmpAdminString" }, \ { MIBDECL(pfTblAddresses) }, \ { MIBDECL(pfTblAnchorRefs) }, \ { MIBDECL(pfTblRuleRefs) }, \ @@ -1313,7 +1313,7 @@ { MIBDECL(pfLabelTable) }, \ { MIBDECL(pfLabelEntry) }, \ { MIBDECL(pfLabelIndex) }, \ - { MIBDECL(pfLabelName) }, \ + { MIBDECL(pfLabelName), "SnmpAdminString" }, \ { MIBDECL(pfLabelEvals) }, \ { MIBDECL(pfLabelPkts) }, \ { MIBDECL(pfLabelBytes) }, \ -- 2.20.1