Don't attempt to do DHCP on certain interfaces, similar to what's done for

ipv6_autoconfif() in r212577.

MFC after:	1 week
This commit is contained in:
Xin LI 2013-06-28 22:25:37 +00:00
parent 42580a3efa
commit 0094baf78c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252360

View file

@ -318,6 +318,15 @@ dhcpif()
local _tmpargs _arg
_tmpargs=`_ifconfig_getargs $1`
case $1 in
lo[0-9]*|\
stf[0-9]*|\
faith[0-9]*|\
lp[0-9]*|\
sl[0-9]*)
return 1
;;
esac
if noafif $1; then
return 1
fi
@ -509,7 +518,7 @@ ipv6_autoconfif()
_if=$1
case $_if in
lo0|\
lo[0-9]*|\
stf[0-9]*|\
faith[0-9]*|\
lp[0-9]*|\