When we fail to aquire a lease, our lease expires without a sucessful

renewal, or we lose link, be more forceful about clearing interface
state so another interface that connects to the same network has a
chance of working.  This doesn't address attemping to connect to both at
once, but appears to allow unplugging from a wired interface and then
inserting a wireless card that associates with an AP bridged to the same
LAN.
This commit is contained in:
Brooks Davis 2005-09-08 22:15:19 +00:00
parent fcac1be89a
commit 3d0181db3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149896

View File

@ -247,6 +247,7 @@ EXPIRE|FAIL)
delete_old_address
delete_old_routes
fi
ifconfig $interface delete
# XXX Why add alias we just deleted above?
add_new_alias
if [ -f /etc/resolv.conf.save ]; then