Let usm_make_report() utilize appl_report(). usm_make_report utilized
authormartijn <martijn@openbsd.org>
Wed, 8 Nov 2023 20:07:14 +0000 (20:07 +0000)
committermartijn <martijn@openbsd.org>
Wed, 8 Nov 2023 20:07:14 +0000 (20:07 +0000)
commit7ffaedaf40853ae1858ae77457a80fab124efd42
treed46b4382f98c150960360546ad805c022980a5e8
parentb12d45ec358266466fe96ed94e9e79a10e7001a3
Let usm_make_report() utilize appl_report(). usm_make_report utilized
mps_getstr(), which after moving the SNMPv2-SMI::snmpV2 into
application_internal returned a noSuchObject. This doesn't seem to have
broken any tools that I'm aware of, but this returns the correct result.

OK tb@
usr.sbin/snmpd/application.c
usr.sbin/snmpd/application.h
usr.sbin/snmpd/snmpe.c
usr.sbin/snmpd/usm.c