base-files: fix network_get_prefix6
authorSteven Barth <cyrus@openwrt.org>
Tue, 22 Jan 2013 16:47:16 +0000 (16:47 +0000)
committerSteven Barth <cyrus@openwrt.org>
Tue, 22 Jan 2013 16:47:16 +0000 (16:47 +0000)
SVN-Revision: 35300

package/base-files/Makefile
package/base-files/files/lib/functions/network.sh

index 7e73c8f452938d3bc0cec704e60663b105304d1f..0959050a5eb9fd3d3d0981858affcda478f57c92 100644 (file)
@@ -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
index ff153c6c91be2b3659bc302e264290e7a4bd0bf8..369fa3dbde1bfb968435f00a4bc953f9bf6a4a7b 100644 (file)
@@ -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 $?
 }