summaryrefslogtreecommitdiff
path: root/package/network/ipv6/6rd/files
diff options
context:
space:
mode:
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-12 08:07:15 +0000
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-12 08:07:15 +0000
commit26e1f41043554416fde69f81516cca7504fcccdd (patch)
tree6ff38dbd150281f751d69e6a00d79fe93458cf3d /package/network/ipv6/6rd/files
parentc2a2d3fa85efa4b27335d595fc05c5fc3519b150 (diff)
6rd: increase metric of default route
This will prefer native IPv6 over 6rd if both are present. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36605 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6/6rd/files')
-rw-r--r--package/network/ipv6/6rd/files/6rd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/ipv6/6rd/files/6rd.sh b/package/network/ipv6/6rd/files/6rd.sh
index b681f2bbe6..7d6cc3ebd3 100644
--- a/package/network/ipv6/6rd/files/6rd.sh
+++ b/package/network/ipv6/6rd/files/6rd.sh
@@ -48,7 +48,7 @@ proto_6rd_setup() {
proto_init_update "$link" 1
proto_add_ipv6_address "$ip6addr" "$ip6prefixlen"
proto_add_ipv6_prefix "$ip6lanprefix"
- proto_add_ipv6_route "::" 0 "::$peeraddr"
+ proto_add_ipv6_route "::" 0 "::$peeraddr" 4096
proto_add_tunnel
json_add_string mode sit