diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-15 11:01:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-03-15 11:01:50 +0000 |
commit | fab655c2b13891de54a1268085529278ad86fd45 (patch) | |
tree | be4c0fe1e0e547a924da56b6f967f08ba9bc8766 /package/6to4/files | |
parent | 7dcb1402e59fde9501ef490ff26709468c5ba0a9 (diff) | |
download | upstream-fab655c2b13891de54a1268085529278ad86fd45.tar.gz upstream-fab655c2b13891de54a1268085529278ad86fd45.tar.bz2 upstream-fab655c2b13891de54a1268085529278ad86fd45.zip |
6to4: set the tunnel remote endpoint to any, put the gateway in the route instead
SVN-Revision: 30950
Diffstat (limited to 'package/6to4/files')
-rwxr-xr-x | package/6to4/files/6to4.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/6to4/files/6to4.sh b/package/6to4/files/6to4.sh index a4ec918c45..0b7bf31bbb 100755 --- 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" |