summaryrefslogtreecommitdiff
path: root/package/network/ipv6/6rd/files
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-05-12 08:07:15 +0000
committerSteven Barth <cyrus@openwrt.org>2013-05-12 08:07:15 +0000
commit85606480825357c5ef19c0418bde90b8a985c9d4 (patch)
treef71fb444c5dee03bfee5cc097e7d0b7f79ce352e /package/network/ipv6/6rd/files
parentd59f8cfa8e76079bf99a2fcc8e7ce00c0724c4bd (diff)
downloadmtk-20170518-85606480825357c5ef19c0418bde90b8a985c9d4.zip
mtk-20170518-85606480825357c5ef19c0418bde90b8a985c9d4.tar.gz
mtk-20170518-85606480825357c5ef19c0418bde90b8a985c9d4.tar.bz2
6rd: increase metric of default route
This will prefer native IPv6 over 6rd if both are present. SVN-Revision: 36605
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 b681f2b..7d6cc3e 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