projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a6b7bdc
)
label's dont work in v4 tunnels, patch by Eric Spakman
author
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 29 Aug 2003 07:47:52 +0000
(07:47 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 29 Aug 2003 07:47:52 +0000
(07:47 -0000)
networking/ifupdown.c
patch
|
blob
|
history
diff --git
a/networking/ifupdown.c
b/networking/ifupdown.c
index afeec363a211ddda97fd312ec4e010694b6bda16..78f2bb0f1a7de34e5285054b11c094f6f05fe31b 100644
(file)
--- a/
networking/ifupdown.c
+++ b/
networking/ifupdown.c
@@
-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 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);
}
result += execute("[[ ip route add ::/0 via %gateway% ]]", ifd, exec);
return( result);
}