summaryrefslogtreecommitdiffstats
path: root/package/6to4
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-09-13 07:29:27 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-09-13 07:29:27 +0000
commitdfa547c5a89f1fb8b88064b502e65753a297a8b9 (patch)
tree0317dacb9f99bbfd421e3c033705849f2f9ec295 /package/6to4
parente926403b86a2bb6250010d9518e875c7859e4e46 (diff)
[package] 6to4: fix lifetime options (#9147)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28223 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/6to4')
-rw-r--r--package/6to4/Makefile2
-rwxr-xr-xpackage/6to4/files/6to4.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/package/6to4/Makefile b/package/6to4/Makefile
index 14c9f2227..8cf66c0a2 100644
--- a/package/6to4/Makefile
+++ b/package/6to4/Makefile
@@ -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
diff --git a/package/6to4/files/6to4.sh b/package/6to4/files/6to4.sh
index 5505d06c5..f7f48e5ba 100755
--- a/package/6to4/files/6to4.sh
+++ b/package/6to4/files/6to4.sh
@@ -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)"