1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:43:08 +02:00

6to4: set the tunnel remote endpoint to any, put the gateway in the route instead

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30950 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-03-15 11:01:50 +00:00
parent 53fcd523f9
commit 4b1477f8c1

View File

@ -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"