ipv6-support: Remove site-border feature
* was causing routing problems * will be reimplemented using firewall git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34898 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
97f157187d
commit
1f93761a65
|
@ -8,7 +8,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ipv6-support
|
PKG_NAME:=ipv6-support
|
||||||
PKG_VERSION:=2012-12-27
|
PKG_VERSION:=2012-12-28
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
config global global
|
config global global
|
||||||
option ula_prefix auto
|
option ula_prefix auto
|
||||||
option site_border 1
|
|
||||||
|
|
||||||
config interface wan
|
config interface wan
|
||||||
option mode dhcpv6
|
option mode dhcpv6
|
||||||
|
|
|
@ -537,11 +537,4 @@ enable_interface()
|
||||||
[ "$mode" == "router" ] && enable_router "$network" "$device"
|
[ "$mode" == "router" ] && enable_router "$network" "$device"
|
||||||
[ "$mode" == "6to4" -o "$mode" == "6rd" ] && enable_6to4 "$network" "$device" "$mode"
|
[ "$mode" == "6to4" -o "$mode" == "6rd" ] && enable_6to4 "$network" "$device" "$mode"
|
||||||
[ "$mode" == "relay" ] && restart_master_relay "$network" forced
|
[ "$mode" == "relay" ] && restart_master_relay "$network" forced
|
||||||
|
|
||||||
# Create / Delete site border
|
|
||||||
local site_border
|
|
||||||
local cmd="delulaborder"
|
|
||||||
config_get_bool site_border global site_border 0
|
|
||||||
[ "$site_border" == "1" ] && cmd="newulaborder"
|
|
||||||
ubus call 6distributed "$cmd"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue