Fix command that brings down loopback

This commit is contained in:
Glenn L McGrath 2002-12-07 00:48:54 +00:00
parent 80a60419f7
commit 1d658263e8

View File

@ -398,7 +398,7 @@ static int loopback_up(interface_defn *ifd, execfn *exec)
static int loopback_down(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(0);
} }
return(1); return(1);