summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/network.subr8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/network.subr b/etc/network.subr
index 579c701..d595b79 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -297,6 +297,10 @@ dhcpif()
local _tmpargs _arg
_tmpargs=`_ifconfig_getargs $1`
+ if noafif $1; then
+ return 1
+ fi
+
for _arg in $_tmpargs; do
case $_arg in
[Dd][Hh][Cc][Pp])
@@ -322,6 +326,10 @@ syncdhcpif()
local _tmpargs _arg
_tmpargs=`_ifconfig_getargs $1`
+ if noafif $1; then
+ return 1
+ fi
+
for _arg in $_tmpargs; do
case $_arg in
[Nn][Oo][Ss][Yy][Nn][Cc][Dd][Hh][Cc][Pp])
OpenPOWER on IntegriCloud