freebsd-nq/contrib/bsnmp/lib
Enji Cooper 295685c5c1 bsnmp: explicitly test the return value for open_client_{local,udp} in snmp_open(..)
open_client_* returns -1 on failure; 0 on success. Ensure that the return value is
0 -- otherwise exit snmp_open(..).

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
2017-03-20 17:26:13 +00:00
..
asn1.3 style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
asn1.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
asn1.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
bsnmpagent.3 style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
bsnmpclient.3 Bump .Dd for the spelling and .Nm updates 2017-01-01 05:16:24 +00:00
bsnmplib.3 Fix spelling errors; bump .Dd for the change 2017-01-01 05:23:01 +00:00
snmp.c Prevent improper memory accesses after calling snmp_pdu_free and snmp_value_free 2016-12-29 00:20:03 +00:00
snmp.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpagent.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpagent.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpclient.c bsnmp: explicitly test the return value for open_client_{local,udp} in snmp_open(..) 2017-03-20 17:26:13 +00:00
snmpclient.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpcrypto.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmppriv.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
support.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
support.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
tc.def