mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 16:43:09 +02:00
[package] 6to4: fix lifetime options (#9147)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28223 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e926403b86
commit
dfa547c5a8
@ -8,7 +8,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=6to4
|
PKG_NAME:=6to4
|
||||||
PKG_VERSION:=6
|
PKG_VERSION:=7
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
@ -203,8 +203,8 @@ setup_interface_6to4() {
|
|||||||
|
|
||||||
grep -qs "^ *$adv_ifname:" /proc/net/dev && {
|
grep -qs "^ *$adv_ifname:" /proc/net/dev && {
|
||||||
local adv_valid_lifetime adv_preferred_lifetime
|
local adv_valid_lifetime adv_preferred_lifetime
|
||||||
config_get adv_valid_lifetime "${adv_interface:-lan}" adv_valid_lifetime
|
config_get adv_valid_lifetime "$cfg" adv_valid_lifetime
|
||||||
config_get adv_preferred_lifetime "${adv_interface:-lan}" adv_preferred_lifetime
|
config_get adv_preferred_lifetime "$cfg" adv_preferred_lifetime
|
||||||
|
|
||||||
local subnet6="$(printf "%s:%x::1/64" "$prefix6" $adv_subnet)"
|
local subnet6="$(printf "%s:%x::1/64" "$prefix6" $adv_subnet)"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user