summaryrefslogtreecommitdiffstats
path: root/bin/hostname
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-01-16 07:03:33 +0000
committerngie <ngie@FreeBSD.org>2017-01-16 07:03:33 +0000
commit9e7f08fdcf999fe8b9562ce4e417276353b32093 (patch)
tree5e6ede87d5f2f069b000fa1263988a34b62d438c /bin/hostname
parent34667460f5d08c2dc59e0ce931a1089be4644803 (diff)
downloadFreeBSD-src-9e7f08fdcf999fe8b9562ce4e417276353b32093.zip
FreeBSD-src-9e7f08fdcf999fe8b9562ce4e417276353b32093.tar.gz
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)
Diffstat (limited to 'bin/hostname')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud