svn commit: r236679 - projects/pf/head/usr.sbin/bsnmpd/modules/snmp_pf

Gleb Smirnoff glebius at FreeBSD.org
Wed Jun 6 12:45:49 UTC 2012


Author: glebius
Date: Wed Jun  6 12:45:48 2012
New Revision: 236679
URL: http://svn.freebsd.org/changeset/base/236679

Log:
  Revert r236181 in such way that OID numbers doesn't shift,
  use a placeholder with syntax of NULL in place of no longer
  supported value.

Modified:
  projects/pf/head/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt
  projects/pf/head/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def

Modified: projects/pf/head/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt
==============================================================================
--- projects/pf/head/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt	Wed Jun  6 12:36:40 2012	(r236678)
+++ projects/pf/head/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt	Wed Jun  6 12:45:48 2012	(r236679)
@@ -585,6 +585,7 @@ PfInterfacesIfEntry ::= SEQUENCE {
     pfInterfacesIfDescr		    OCTET STRING,
     pfInterfacesIfType		    INTEGER,
     pfInterfacesIfTZero		    TimeTicks,
+    pfInterfacesIfRefsState	    Null,
     pfInterfacesIfRefsRule	    Unsigned32,
     pfInterfacesIf4BytesInPass	    Counter64,
     pfInterfacesIf4BytesInBlock	    Counter64,

Modified: projects/pf/head/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def
==============================================================================
--- projects/pf/head/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def	Wed Jun  6 12:36:40 2012	(r236678)
+++ projects/pf/head/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def	Wed Jun  6 12:45:48 2012	(r236679)
@@ -108,23 +108,24 @@
                     (2 pfInterfacesIfDescr OCTETSTRING GET)
                     (3 pfInterfacesIfType ENUM ( 0 group 1 instance 2 detached ) GET)
 		    (4 pfInterfacesIfTZero TIMETICKS GET)
-                    (5 pfInterfacesIfRefsRule UNSIGNED32 GET)
-                    (6 pfInterfacesIf4BytesInPass COUNTER64 GET)
-                    (7 pfInterfacesIf4BytesInBlock COUNTER64 GET)
-                    (8 pfInterfacesIf4BytesOutPass COUNTER64 GET)
-                    (9 pfInterfacesIf4BytesOutBlock COUNTER64 GET)
-                    (10 pfInterfacesIf4PktsInPass COUNTER64 GET)
-                    (11 pfInterfacesIf4PktsInBlock COUNTER64 GET)
-                    (12 pfInterfacesIf4PktsOutPass COUNTER64 GET)
-                    (13 pfInterfacesIf4PktsOutBlock COUNTER64 GET)
-                    (14 pfInterfacesIf6BytesInPass COUNTER64 GET)
-                    (15 pfInterfacesIf6BytesInBlock COUNTER64 GET)
-                    (16 pfInterfacesIf6BytesOutPass COUNTER64 GET)
-                    (17 pfInterfacesIf6BytesOutBlock COUNTER64 GET)
-                    (18 pfInterfacesIf6PktsInPass COUNTER64 GET)
-                    (19 pfInterfacesIf6PktsInBlock COUNTER64 GET)
-                    (20 pfInterfacesIf6PktsOutPass COUNTER64 GET)
-                    (21 pfInterfacesIf6PktsOutBlock COUNTER64 GET)
+                    (5 pfInterfacesIfRefsState NULL GET)
+                    (6 pfInterfacesIfRefsRule UNSIGNED32 GET)
+                    (7 pfInterfacesIf4BytesInPass COUNTER64 GET)
+                    (8 pfInterfacesIf4BytesInBlock COUNTER64 GET)
+                    (9 pfInterfacesIf4BytesOutPass COUNTER64 GET)
+                    (10 pfInterfacesIf4BytesOutBlock COUNTER64 GET)
+                    (11 pfInterfacesIf4PktsInPass COUNTER64 GET)
+                    (12 pfInterfacesIf4PktsInBlock COUNTER64 GET)
+                    (13 pfInterfacesIf4PktsOutPass COUNTER64 GET)
+                    (14 pfInterfacesIf4PktsOutBlock COUNTER64 GET)
+                    (15 pfInterfacesIf6BytesInPass COUNTER64 GET)
+                    (16 pfInterfacesIf6BytesInBlock COUNTER64 GET)
+                    (17 pfInterfacesIf6BytesOutPass COUNTER64 GET)
+                    (18 pfInterfacesIf6BytesOutBlock COUNTER64 GET)
+                    (19 pfInterfacesIf6PktsInPass COUNTER64 GET)
+                    (20 pfInterfacesIf6PktsInBlock COUNTER64 GET)
+                    (21 pfInterfacesIf6PktsOutPass COUNTER64 GET)
+                    (22 pfInterfacesIf6PktsOutBlock COUNTER64 GET)
                   )
                 )
               )


More information about the svn-src-projects mailing list