Unbreak snmp_pf(3) after the changes introduced in r338209

PR:		237011
Event:		Vienna Hackathon 2019
MFC after:	2 weeks
This commit is contained in:
Shteryana Shopova 2019-06-21 07:29:02 +00:00
parent 804b78634d
commit 65a184e091
2 changed files with 2 additions and 2 deletions

View File

@ -907,7 +907,7 @@ pf_tbladdr(struct snmp_context __unused *ctx, struct snmp_value __unused *val,
}
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];

View File

@ -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)