From: Steven Barth Date: Tue, 22 Jan 2013 16:47:16 +0000 (+0000) Subject: base-files: fix network_get_prefix6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=231f8c296989d501d400abd9ba7eb27f512121cd;p=openwrt%2Fstaging%2Fldir.git base-files: fix network_get_prefix6 SVN-Revision: 35300 --- diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 7e73c8f452..0959050a5e 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 ff153c6c91..369fa3dbde 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 $? }