On endOfMibView reset OID back to the original requested OID as per RFC3416
authormartijn <martijn@openbsd.org>
Tue, 1 Nov 2022 13:34:44 +0000 (13:34 +0000)
committermartijn <martijn@openbsd.org>
Tue, 1 Nov 2022 13:34:44 +0000 (13:34 +0000)
commitc812f9cecc4be2a5ffc29fdc2c45a434f3867e28
treed2d0efe0c382abc37bb12215d38883f9e4a5bb21
parent577f3075b75c243ad55f73cc332d2eba5710b0d5
On endOfMibView reset OID back to the original requested OID as per RFC3416
section 4.2.2, instead of returning the (internal) current OID, which could
happen on empty tables.

Found and diff tested by Ryan Freeman (ryan <at> slipgate <dot> org)
OK sthen@
lib/libagentx/agentx.c