diff options
author | jhb <jhb@FreeBSD.org> | 2013-11-05 19:49:53 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-11-05 19:49:53 +0000 |
commit | 7887fd3f23f6b448e8583521465642f31d4ae5ec (patch) | |
tree | 6539d32830e3d23350b168b3214e49cdfd9bb5d1 /etc | |
parent | af0db43f1ccee8de8a1586a64c1d461a764b627f (diff) | |
download | FreeBSD-src-7887fd3f23f6b448e8583521465642f31d4ae5ec.zip FreeBSD-src-7887fd3f23f6b448e8583521465642f31d4ae5ec.tar.gz |
Don't explicitly invoke ifn_start on new child interfaces (vaps and
subinterfaces) after they are created. Interfaces are already started
by devd invoking /etc/pccard_ether when they are created, so the explicit
calls in childif_create() resulted in interfaces being started twice.
Note that interfaces created via cloned_interfaces are not explicitly
started but depend on the devd mechanism already.
MFC after: 1 week
Diffstat (limited to 'etc')
-rw-r--r-- | etc/network.subr | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/etc/network.subr b/etc/network.subr index de9d997..51af17a 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -1429,9 +1429,6 @@ childif_create() fi ${IFCONFIG_CMD} $i name $child && cfg=0 fi - if autoif $child; then - ifn_start $child - fi done # Create vlan interfaces @@ -1455,9 +1452,6 @@ childif_create() ${IFCONFIG_CMD} $i name $child && cfg=0 fi fi - if autoif $child; then - ifn_start $child - fi done return ${cfg} |