diff options
author | kevlo <kevlo@FreeBSD.org> | 2011-08-08 05:25:51 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2011-08-08 05:25:51 +0000 |
commit | c7105822b4f372064af7bf4976d10c38e78cdd9c (patch) | |
tree | 54a38dd16508440f2dbf329693143ff01267d590 /bin/echo | |
parent | 5e1d62adc3a8d4a0ec2eeb8144e9243fc6990065 (diff) | |
download | FreeBSD-src-c7105822b4f372064af7bf4976d10c38e78cdd9c.zip FreeBSD-src-c7105822b4f372064af7bf4976d10c38e78cdd9c.tar.gz |
In rtinit1(), before rtrequest1_fib() is called, info.rti_flags is
initialized by flags (function argument) or-ed with ifa->ifa_flags.
If both NIC has a loopback route to itself, so IFA_RTSELF is set on ifa(s).
As IFA_RTSELF is defined by RTF_HOST, rtrequest1_fib() is called with
RTF_HOST flag even if netmask is not NULL. Consequently, netmask is set
to zero in rtrequest1_fib(), and request to add network route is changed
under hands to request to add host route.
Tested by: Andrew Boyer <aboyer at averesystems.com>
Submitted by: Svatopluk Kraus <onwahe at gmail dot com>
Approved by: re (hrs)
Diffstat (limited to 'bin/echo')
0 files changed, 0 insertions, 0 deletions