label's dont work in v4 tunnels, patch by Eric Spakman
authorGlenn L McGrath <bug1@ihug.co.nz>
Fri, 29 Aug 2003 07:47:52 +0000 (07:47 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Fri, 29 Aug 2003 07:47:52 +0000 (07:47 -0000)
networking/ifupdown.c

index afeec363a211ddda97fd312ec4e010694b6bda16..78f2bb0f1a7de34e5285054b11c094f6f05fe31b 100644 (file)
@@ -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);
 }