]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use SNMPD_INPUT_FAILED instead of SNMP_CODE_FAILED
authorngie <ngie@FreeBSD.org>
Sun, 15 May 2016 00:54:21 +0000 (00:54 +0000)
committerngie <ngie@FreeBSD.org>
Sun, 15 May 2016 00:54:21 +0000 (00:54 +0000)
commit200ff419abe353bd955aa273d1a8e549c7989a01
tree79103d161d733576468bd3bcdc2c773cf2cf13bd
parent8e995c5bbe157e11d52e3e54df34425de390309c
Use SNMPD_INPUT_FAILED instead of SNMP_CODE_FAILED

SNMPD_INPUT_FAILED is `enum snmpd_input_err` type (which matches the return
code from the function). SNMP_CODE_FAILED is `enum snmp_code` type.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
contrib/bsnmp/snmpd/main.c