RFC2741 section 7.1.1 tells us that if a pdu can't be parsed we must
authormartijn <martijn@openbsd.org>
Tue, 24 Oct 2023 09:00:53 +0000 (09:00 +0000)
committermartijn <martijn@openbsd.org>
Tue, 24 Oct 2023 09:00:53 +0000 (09:00 +0000)
commitd2fe463c897bcaa2117bf08903ae5aa07f2b6540
tree52470704f66d984aaf47439263e283173f4018e8
parent6f5d93645a6e9b04bccbd48ae2196a66638a49ca
RFC2741 section 7.1.1 tells us that if a pdu can't be parsed we must
return a parseerror. Make sure we can differentiate between parseerror and
openfailed.

OK tb@
usr.sbin/snmpd/application_agentx.c