Add DisplayString/SnmpAdminString in accordance with recent OPENBSD-PF-MIB
authormartijn <martijn@openbsd.org>
Tue, 23 Mar 2021 22:05:21 +0000 (22:05 +0000)
committermartijn <martijn@openbsd.org>
Tue, 23 Mar 2021 22:05:21 +0000 (22:05 +0000)
changes.

OK sthen@

usr.bin/snmp/mib.h

index 3e8cc5c..2ea2632 100644 (file)
@@ -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 <reyk@openbsd.org>
        { MIBDECL(pfStateInserts) },                    \
        { MIBDECL(pfStateRemovals) },                   \
        { MIBDECL(pfLogInterface) },                    \
-       { MIBDECL(pfLogIfName) },                       \
+       { MIBDECL(pfLogIfName), "DisplayString" },      \
        { MIBDECL(pfLogIfIpBytesIn) },                  \
        { MIBDECL(pfLogIfIpBytesOut) },                 \
        { MIBDECL(pfLogIfIpPktsInPass) },               \
        { MIBDECL(pfIfTable) },                         \
        { MIBDECL(pfIfEntry) },                         \
        { MIBDECL(pfIfIndex) },                         \
-       { MIBDECL(pfIfDescr) },                         \
+       { MIBDECL(pfIfDescr), "DisplayString" },        \
        { MIBDECL(pfIfType) },                          \
        { MIBDECL(pfIfRefs) },                          \
        { MIBDECL(pfIfRules) },                         \
        { MIBDECL(pfTblTable) },                        \
        { MIBDECL(pfTblEntry) },                        \
        { MIBDECL(pfTblIndex) },                        \
-       { MIBDECL(pfTblName) },                         \
+       { MIBDECL(pfTblName), "SnmpAdminString" },      \
        { MIBDECL(pfTblAddresses) },                    \
        { MIBDECL(pfTblAnchorRefs) },                   \
        { MIBDECL(pfTblRuleRefs) },                     \
        { MIBDECL(pfLabelTable) },                      \
        { MIBDECL(pfLabelEntry) },                      \
        { MIBDECL(pfLabelIndex) },                      \
-       { MIBDECL(pfLabelName) },                       \
+       { MIBDECL(pfLabelName), "SnmpAdminString" },    \
        { MIBDECL(pfLabelEvals) },                      \
        { MIBDECL(pfLabelPkts) },                       \
        { MIBDECL(pfLabelBytes) },                      \