summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorGlenn L McGrath2002-12-07 00:48:54 +0000
committerGlenn L McGrath2002-12-07 00:48:54 +0000
commit1d658263e8d0ad30ee15f028bc267170353b3599 (patch)
tree86dc49dcb18a92c7ddd6b88117a38faa0914b11e /networking
parent80a60419f768ffdf9887a9d254dcbfd70d0f3b18 (diff)
downloadbusybox-1d658263e8d0ad30ee15f028bc267170353b3599.zip
busybox-1d658263e8d0ad30ee15f028bc267170353b3599.tar.gz
Fix command that brings down loopback
Diffstat (limited to 'networking')
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index b230e1a..301ef67 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -398,7 +398,7 @@ static int loopback_up(interface_defn *ifd, execfn *exec)
static int loopback_down(interface_defn *ifd, execfn *exec)
{
- if (!execute("ifconfig %iface% down", ifd, exec)) {
+ if (!execute("ifconfig %iface% 127.0.0.1 down", ifd, exec)) {
return(0);
}
return(1);