/[base]
ViewVC logotype

Revision 312265


Jump to revision: Previous Next
Author: ngie
Date: Mon Jan 16 07:04:08 2017 UTC (7 years, 5 months ago)
Changed paths: 6
Log Message:
MFC r310655:

Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used
as the listening address in snmpd_input(..)

Stash the IPv4 address of the receiver via the recv(..) callback and use it in
the send(..) callback for the transport by specifying IP_SENDSRCADDR for the
control message type.

Add sendmsg logic to the UDP transport's send(..) callback and use the
respective send(..) callback for the transport instead of calling sendto in
snmpd_input(..).

Obtained from:  Isilon OneFS (^/onefs/branches/BR_8_0_0_DEV@r507595)


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/contrib/bsnmp/snmpd/main.c modified , text changed
Directorystable/10/contrib/bsnmp/snmpd/snmpd.h modified , text changed
Directorystable/10/contrib/bsnmp/snmpd/trans_lsock.c modified , text changed
Directorystable/10/contrib/bsnmp/snmpd/trans_udp.c modified , text changed
Directorystable/10/contrib/bsnmp/snmpd/trans_udp.h modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27