summaryrefslogtreecommitdiff
path: root/networking/ifupdown.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-08-29 07:47:52 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-08-29 07:47:52 +0000
commit62b031fb8283e625cd45ba910ded0338c7c147da (patch)
tree0d20e2d7d2509a6f363663115f373c30dc04b4c6 /networking/ifupdown.c
parenta6b7bdcf8caaf1fd36f522a795f1c4c5ff3c64ce (diff)
downloadbusybox-w32-62b031fb8283e625cd45ba910ded0338c7c147da.tar.gz
busybox-w32-62b031fb8283e625cd45ba910ded0338c7c147da.tar.bz2
busybox-w32-62b031fb8283e625cd45ba910ded0338c7c147da.zip
label's dont work in v4 tunnels, patch by Eric Spakman
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r--networking/ifupdown.c2
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}