svn commit: r196604 - stable/8/etc
Doug Barton
dougb at FreeBSD.org
Thu Aug 27 17:53:26 UTC 2009
Author: dougb
Date: Thu Aug 27 17:53:25 2009
New Revision: 196604
URL: http://svn.freebsd.org/changeset/base/196604
Log:
MFC 196589:
In the loop through the list of interfaces in network6_interface_setup()
rtsol_interface gets reset to "yes" each time through the loop, but
rtsol_available does not. If a user has lo0 first in their list of
interfaces rtsol_available will get set to "no" the first time through
the loop and subsequent interfaces will not get rtsol'ed when they should.
Therefore change the conditional for the is_wired() test to _interface.
Approved by: re (kib)
Modified:
stable/8/etc/ (props changed)
stable/8/etc/network.subr
Modified: stable/8/etc/network.subr
==============================================================================
--- stable/8/etc/network.subr Thu Aug 27 17:42:37 2009 (r196603)
+++ stable/8/etc/network.subr Thu Aug 27 17:53:25 2009 (r196604)
@@ -872,8 +872,8 @@ network6_interface_setup()
# Wireless NIC cards are virtualized through the wlan interface
if ! is_wired_interface ${i}; then
case "${i}" in
- wlan*) rtsol_available=yes ;;
- *) rtsol_available=no ;;
+ wlan*) rtsol_interface=yes ;;
+ *) rtsol_interface=no ;;
esac
fi
More information about the svn-src-stable
mailing list