summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2008-05-15 00:08:02 +0000
committerbrooks <brooks@FreeBSD.org>2008-05-15 00:08:02 +0000
commit93203690b0db18a27ba088f5d3728c8ee301e089 (patch)
treec979d61df3963e701ba1061352a463bfc078e2b6 /etc
parent6ac798a490277d2d1300686fea707cc72c9ada6e (diff)
downloadFreeBSD-src-93203690b0db18a27ba088f5d3728c8ee301e089.zip
FreeBSD-src-93203690b0db18a27ba088f5d3728c8ee301e089.tar.gz
Fix last commit and call childif_destroy() correctly.
Diffstat (limited to 'etc')
-rw-r--r--etc/network.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/network.subr b/etc/network.subr
index 87f9ca6..686f792 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -71,7 +71,7 @@ ifn_stop()
ipv4_down ${ifn} && cfg=0
ifconfig_down ${ifn} && cfg=0
ifscript_down ${ifn} && cfg=0
- childif_destroy
+ childif_destroy ${ifn}
if [ "$cfg" -eq 0 ]; then
echo -n " ${ifn}"
OpenPOWER on IntegriCloud