mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
Fix command that brings down loopback
This commit is contained in:
parent
80a60419f7
commit
1d658263e8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user