summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-22 16:47:16 +0000
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-22 16:47:16 +0000
commita95f83769f0d3a51bae6d2597a015cbcf76d7ae4 (patch)
treeaefa6bfea5c26815c875f673c9d78061aca79a2a
parentc1b55275718167eff157f49d549050952637d664 (diff)
base-files: fix network_get_prefix6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35300 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/base-files/Makefile2
-rw-r--r--package/base-files/files/lib/functions/network.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 7e73c8f45..0959050a5 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/version.mk
PKG_NAME:=base-files
-PKG_RELEASE:=127
+PKG_RELEASE:=128
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host
diff --git a/package/base-files/files/lib/functions/network.sh b/package/base-files/files/lib/functions/network.sh
index ff153c6c9..369fa3dbd 100644
--- a/package/base-files/files/lib/functions/network.sh
+++ b/package/base-files/files/lib/functions/network.sh
@@ -193,7 +193,7 @@ network_get_prefix6() {
__network_parse_ifstatus "$__iface" || return 1
__network_export __mask "${__iface}_prefix6_mask" || return 1
- __network_export __var "${__iface}_prefix6_address" "/$__mask"
+ __network_export "$__var" "${__iface}_prefix6_address" "/$__mask"
return $?
}