Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2019 07:29:02 +0000 (UTC)
From:      Shteryana Shopova <syrinx@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349264 - head/usr.sbin/bsnmpd/modules/snmp_pf
Message-ID:  <201906210729.x5L7T2An064465@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: syrinx
Date: Fri Jun 21 07:29:02 2019
New Revision: 349264
URL: https://svnweb.freebsd.org/changeset/base/349264

Log:
  Unbreak snmp_pf(3) after the changes introduced in r338209
  
  PR:		237011
  Event:		Vienna Hackathon 2019
  MFC after:	2 weeks

Modified:
  head/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
  head/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def

Modified: head/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
==============================================================================
--- head/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c	Fri Jun 21 04:57:23 2019	(r349263)
+++ head/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c	Fri Jun 21 07:29:02 2019	(r349264)
@@ -907,7 +907,7 @@ pf_tbladdr(struct snmp_context __unused *ctx, struct s
 }
 
 int
-pf_altq(struct snmp_context __unused *ctx, struct snmp_value *val,
+pf_altq_num(struct snmp_context __unused *ctx, struct snmp_value *val,
 	u_int sub, u_int __unused vindex, enum snmp_op op)
 {
 	asn_subid_t	which = val->var.subs[sub - 1];

Modified: head/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def
==============================================================================
--- head/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def	Fri Jun 21 04:57:23 2019	(r349263)
+++ head/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def	Fri Jun 21 07:29:02 2019	(r349264)
@@ -174,7 +174,7 @@
 		)
 	      )
 	      (10 pfAltq
-	        (1 pfAltqQueueNumber INTEGER32 pf_altq GET)
+	        (1 pfAltqQueueNumber INTEGER32 pf_altq_num GET)
 		(2 pfAltqQueueTable
 		  (1 pfAltqQueueEntry : INTEGER32 pf_altqq
 		    (1 pfAltqQueueIndex INTEGER32)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906210729.x5L7T2An064465>