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.

Noticed by:	Dimitry Andric <dimitry@andric.com>
This commit is contained in:
Doug Barton 2009-08-27 15:24:26 +00:00
parent d4267a481b
commit d1321a41a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196589

View File

@ -879,8 +879,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