mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
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:
parent
d59f8cfa8e
commit
8560648082
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user