mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
snmp_pf: fix pfInterfacesIfRefsState
pfInterfacesIfRefsState was described as 'Null', which upset bsnmpwalk's attempt
to resolve OIDs to symbolic names:
> bsnmpwalk: Error adding leaf pfInterfacesIfRefsState to list
This was done back in d6d3f01e0a, because we don't return this value any
more. Return it to 'Unsigned32', which fixes things, even if we still don't
actually return this value.
While here update the ORGANIZATION to reflect current ownership.
Reviewed by: philip
MFC after: 2 weeks
Event: Tokyo Hackathon 202503
Differential Revision: https://reviews.freebsd.org/D49413
(cherry picked from commit 712309a64512c7e4ebf0e10de8a5c59d5a185ae8)
This commit is contained in:
parent
1e84a6ba21
commit
c844e84845
2 changed files with 7 additions and 9 deletions
|
|
@ -21,19 +21,17 @@ IMPORTS
|
|||
FROM BEGEMOT-MIB;
|
||||
|
||||
begemotPf MODULE-IDENTITY
|
||||
LAST-UPDATED "201003180000Z"
|
||||
ORGANIZATION "NixSys BVBA"
|
||||
LAST-UPDATED "202503190000Z"
|
||||
ORGANIZATION "Alternative Enterprises (HK) Limited"
|
||||
CONTACT-INFO
|
||||
" Philip Paeps
|
||||
|
||||
Postal: NixSys BVBA
|
||||
Louizastraat 14
|
||||
BE-2800 Mechelen
|
||||
Belgium
|
||||
|
||||
E-Mail: philip@FreeBSD.org"
|
||||
DESCRIPTION
|
||||
"The Begemot MIB for the pf packet filter."
|
||||
REVISION "202503190000Z"
|
||||
DESCRIPTION
|
||||
"Reverted pfInterfacesIfRefsState to Unsigned32"
|
||||
REVISION "201003180000Z"
|
||||
DESCRIPTION
|
||||
"Modified pfTablesAddrEntry to support IPv6
|
||||
|
|
@ -583,7 +581,7 @@ PfInterfacesIfEntry ::= SEQUENCE {
|
|||
pfInterfacesIfDescr OCTET STRING,
|
||||
pfInterfacesIfType INTEGER,
|
||||
pfInterfacesIfTZero TimeTicks,
|
||||
pfInterfacesIfRefsState Null,
|
||||
pfInterfacesIfRefsState Unsigned32,
|
||||
pfInterfacesIfRefsRule Unsigned32,
|
||||
pfInterfacesIf4BytesInPass Counter64,
|
||||
pfInterfacesIf4BytesInBlock Counter64,
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@
|
|||
(2 pfInterfacesIfDescr OCTETSTRING GET)
|
||||
(3 pfInterfacesIfType ENUM ( 0 group 1 instance 2 detached ) GET)
|
||||
(4 pfInterfacesIfTZero TIMETICKS GET)
|
||||
(5 pfInterfacesIfRefsState NULL GET)
|
||||
(5 pfInterfacesIfRefsState UNSIGNED32 GET)
|
||||
(6 pfInterfacesIfRefsRule UNSIGNED32 GET)
|
||||
(7 pfInterfacesIf4BytesInPass COUNTER64 GET)
|
||||
(8 pfInterfacesIf4BytesInBlock COUNTER64 GET)
|
||||
|
|
|
|||
Loading…
Reference in a new issue