mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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:
parent
42580a3efa
commit
0094baf78c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252360
|
@ -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]*|\
|
||||
|
|
Loading…
Reference in a new issue