mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 15:54:56 +00:00
label's dont work in v4 tunnels, patch by Eric Spakman
This commit is contained in:
parent
a6b7bdcf8c
commit
62b031fb82
@ -436,7 +436,7 @@ static int v4tunnel_up(struct interface_defn_t *ifd, execfn *exec)
|
||||
result = execute("ip tunnel add %iface% mode sit remote "
|
||||
"%endpoint% [[local %local%]] [[ttl %ttl%]]", ifd, exec);
|
||||
result += execute("ip link set %iface% up", ifd, exec);
|
||||
result += execute("ip addr add %address%/%netmask% dev %iface% label %label%", ifd, exec);
|
||||
result += execute("ip addr add %address%/%netmask% dev %iface%", ifd, exec);
|
||||
result += execute("[[ ip route add ::/0 via %gateway% ]]", ifd, exec);
|
||||
return( result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user