Annotation of elwix/patches/freebsd.bsnmp.main.patch, revision 1.2
1.2 ! misho 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>