summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-12-07 00:48:54 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-12-07 00:48:54 +0000
commit1d658263e8d0ad30ee15f028bc267170353b3599 (patch)
tree86dc49dcb18a92c7ddd6b88117a38faa0914b11e
parent80a60419f768ffdf9887a9d254dcbfd70d0f3b18 (diff)
Fix command that brings down loopback
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index b230e1a6f..301ef67a3 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);