diff options
author | dd <dd@FreeBSD.org> | 2001-11-27 19:58:09 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-11-27 19:58:09 +0000 |
commit | aeec5e42651c55da02aacf7c8dcf8fbf07a7a922 (patch) | |
tree | b8685fe28a8e426de5c2055411e2ff916e8663bf /usr.sbin | |
parent | da78f952f391aa86cf6f5b9b872501bc7d130c35 (diff) | |
download | FreeBSD-src-aeec5e42651c55da02aacf7c8dcf8fbf07a7a922.zip FreeBSD-src-aeec5e42651c55da02aacf7c8dcf8fbf07a7a922.tar.gz |
In icmp_reflect(): If the packet was not addressed to us and was
received on an interface without an IP address, try to find a
non-loopback AF_INET address to use. If that fails, drop it.
Previously, we used the address at the top of the in_ifaddrhead list,
which didn't make much sense, and would cause a panic if there were no
AF_INET addresses configured on the system.
PR: 29337, 30524
Reviewed by: ru, jlemon
Obtained from: NetBSD
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions