From 85606480825357c5ef19c0418bde90b8a985c9d4 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 12 May 2013 08:07:15 +0000 Subject: [PATCH] 6rd: increase metric of default route This will prefer native IPv6 over 6rd if both are present. SVN-Revision: 36605 --- package/network/ipv6/6rd/Makefile | 2 +- package/network/ipv6/6rd/files/6rd.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/ipv6/6rd/Makefile b/package/network/ipv6/6rd/Makefile index f64cab3fe0..6e77d24bc7 100644 --- a/package/network/ipv6/6rd/Makefile +++ b/package/network/ipv6/6rd/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=6rd -PKG_VERSION:=3 +PKG_VERSION:=4 PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk 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 -- 2.30.2