mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
333261901e
commit
9d99dd82f9
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user