projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dcb140
)
6to4: set the tunnel remote endpoint to any, put the gateway in the route instead
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 15 Mar 2012 11:01:50 +0000
(11:01 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 15 Mar 2012 11:01:50 +0000
(11:01 +0000)
SVN-Revision: 30950
package/6to4/files/6to4.sh
patch
|
blob
|
history
diff --git
a/package/6to4/files/6to4.sh
b/package/6to4/files/6to4.sh
index a4ec918c45a268231bff06f6c77bce950a350ed2..0b7bf31bbbd9be15300cf557a9a75538bf61f988 100755
(executable)
--- a/
package/6to4/files/6to4.sh
+++ b/
package/6to4/files/6to4.sh
@@
-159,14
+159,13
@@
proto_6to4_setup() {
proto_init_update "$link" 1
proto_add_ipv6_address "$local6" 16
- proto_add_ipv6_route "::" 0
+ proto_add_ipv6_route "::" 0
"::192.88.99.1"
proto_add_tunnel
json_add_string mode sit
json_add_int mtu "${mtu:-1280}"
json_add_int ttl "${ttl:-64}"
json_add_string local "$local4"
- json_add_string remote "192.88.99.1"
proto_close_tunnel
proto_send_update "$cfg"