summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-11-12 18:59:23 +0000
committerjhb <jhb@FreeBSD.org>2013-11-12 18:59:23 +0000
commit96b4afd9d5c2c388e75a244e0bda2a69cab6059d (patch)
tree9286da02fd21f81f8c3221d21324cdc2238d9e27
parentb8c3e6f20805b57916792be9103e9c1106f3d33c (diff)
downloadFreeBSD-src-96b4afd9d5c2c388e75a244e0bda2a69cab6059d.zip
FreeBSD-src-96b4afd9d5c2c388e75a244e0bda2a69cab6059d.tar.gz
Revert r257715. This breaks the case where devd isn't running. The
real solution to this is still being discussed and probably won't look quite like this.
-rw-r--r--etc/network.subr6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/network.subr b/etc/network.subr
index 51af17a..de9d997 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -1429,6 +1429,9 @@ childif_create()
fi
${IFCONFIG_CMD} $i name $child && cfg=0
fi
+ if autoif $child; then
+ ifn_start $child
+ fi
done
# Create vlan interfaces
@@ -1452,6 +1455,9 @@ childif_create()
${IFCONFIG_CMD} $i name $child && cfg=0
fi
fi
+ if autoif $child; then
+ ifn_start $child
+ fi
done
return ${cfg}
OpenPOWER on IntegriCloud