diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-08-29 07:47:52 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-08-29 07:47:52 +0000 |
commit | bab6bae9ccb3f3cf345c7144edc6f62bc170e8f0 (patch) | |
tree | 0d20e2d7d2509a6f363663115f373c30dc04b4c6 /networking | |
parent | 0ea7caf8a4446608f39f2d79e0fc245f3084a48e (diff) | |
download | busybox-w32-bab6bae9ccb3f3cf345c7144edc6f62bc170e8f0.tar.gz busybox-w32-bab6bae9ccb3f3cf345c7144edc6f62bc170e8f0.tar.bz2 busybox-w32-bab6bae9ccb3f3cf345c7144edc6f62bc170e8f0.zip |
label's dont work in v4 tunnels, patch by Eric Spakman
git-svn-id: svn://busybox.net/trunk/busybox@7281 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifupdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index afeec363a..78f2bb0f1 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -436,7 +436,7 @@ static int v4tunnel_up(struct interface_defn_t *ifd, execfn *exec) | |||
436 | result = execute("ip tunnel add %iface% mode sit remote " | 436 | result = execute("ip tunnel add %iface% mode sit remote " |
437 | "%endpoint% [[local %local%]] [[ttl %ttl%]]", ifd, exec); | 437 | "%endpoint% [[local %local%]] [[ttl %ttl%]]", ifd, exec); |
438 | result += execute("ip link set %iface% up", ifd, exec); | 438 | result += execute("ip link set %iface% up", ifd, exec); |
439 | result += execute("ip addr add %address%/%netmask% dev %iface% label %label%", ifd, exec); | 439 | result += execute("ip addr add %address%/%netmask% dev %iface%", ifd, exec); |
440 | result += execute("[[ ip route add ::/0 via %gateway% ]]", ifd, exec); | 440 | result += execute("[[ ip route add ::/0 via %gateway% ]]", ifd, exec); |
441 | return( result); | 441 | return( result); |
442 | } | 442 | } |