6rd: increase metric of default route

This will prefer native IPv6 over 6rd if both are present.

SVN-Revision: 36605
This commit is contained in:
Steven Barth 2013-05-12 08:07:15 +00:00
parent d59f8cfa8e
commit 8560648082
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=6rd PKG_NAME:=6rd
PKG_VERSION:=3 PKG_VERSION:=4
PKG_RELEASE:=1 PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -48,7 +48,7 @@ proto_6rd_setup() {
proto_init_update "$link" 1 proto_init_update "$link" 1
proto_add_ipv6_address "$ip6addr" "$ip6prefixlen" proto_add_ipv6_address "$ip6addr" "$ip6prefixlen"
proto_add_ipv6_prefix "$ip6lanprefix" proto_add_ipv6_prefix "$ip6lanprefix"
proto_add_ipv6_route "::" 0 "::$peeraddr" proto_add_ipv6_route "::" 0 "::$peeraddr" 4096
proto_add_tunnel proto_add_tunnel
json_add_string mode sit json_add_string mode sit