From: Vojtech Vilimek Date: Tue, 13 Aug 2024 15:58:16 +0000 (+0200) Subject: fixup! SNMP: Fix state machine transitions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95c484674e2614e916f509fc0fc5b22f7729e56a;p=thirdparty%2Fbird.git fixup! SNMP: Fix state machine transitions --- diff --git a/proto/snmp/subagent.c b/proto/snmp/subagent.c index 30305bd9f..c423a8407 100644 --- a/proto/snmp/subagent.c +++ b/proto/snmp/subagent.c @@ -1009,7 +1009,6 @@ snmp_get_pdu(struct snmp_proto *p, struct snmp_pdu *c, struct mib_walk_state *wa enum snmp_search_res res; res = snmp_walk_fill(leaf, walk, c); - // TODO is this really necessary? if (res != SNMP_SEARCH_OK) c->sr_vb_start->type = snmp_search_res_to_type(res); }