File:  [ELWIX - Embedded LightWeight unIX -] / elwix / patches / freebsd.bsnmp.main.patch
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Thu Mar 11 13:59:52 2021 UTC (3 years, 3 months ago) by misho
Branches: MAIN
CVS tags: elwix2_8, elwix2_7, HEAD, ELWIX2_7, ELWIX2_6
ver 2.6

    1: Index: contrib/bsnmp/snmpd/main.c
    2: ===================================================================
    3: --- contrib/bsnmp/snmpd/main.c	(revision 245044)
    4: +++ contrib/bsnmp/snmpd/main.c	(working copy)
    5: @@ -627,6 +627,7 @@
    6:  		} else
    7:  			community = comm->value;
    8:  	} else if (pdu->nbindings == 0) {
    9: +		pdu->flags |= SNMP_MSG_AUTODISCOVER;
   10:  		/* RFC 3414 - snmpEngineID Discovery */
   11:  		if (strlen(pdu->user.sec_name) == 0) {
   12:  			asn_append_oid(&(pdu->bindings[pdu->nbindings++].var),

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>