6to4: fix lifetime options (#9147)

SVN-Revision: 28223
lede-17.01
Jo-Philipp Wich 2011-09-13 07:29:27 +00:00
parent 718c8ab940
commit 9cfee14217
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -203,8 +203,8 @@ setup_interface_6to4() {
grep -qs "^ *$adv_ifname:" /proc/net/dev && {
local adv_valid_lifetime adv_preferred_lifetime
config_get adv_valid_lifetime "${adv_interface:-lan}" adv_valid_lifetime
config_get adv_preferred_lifetime "${adv_interface:-lan}" adv_preferred_lifetime
config_get adv_valid_lifetime "$cfg" adv_valid_lifetime
config_get adv_preferred_lifetime "$cfg" adv_preferred_lifetime
local subnet6="$(printf "%s:%x::1/64" "$prefix6" $adv_subnet)"