Fix command that brings down loopback
authorGlenn L McGrath <bug1@ihug.co.nz>
Sat, 7 Dec 2002 00:48:54 +0000 (00:48 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sat, 7 Dec 2002 00:48:54 +0000 (00:48 -0000)
networking/ifupdown.c

index b230e1a6f82adba777bae18862996549a2c98f43..301ef67a38f9a57541c7ac4b18c991e5be390955 100644 (file)
@@ -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);