mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-29 10:22:56 +00:00
base-files: fix network_get_prefix6
SVN-Revision: 35300
This commit is contained in:
parent
e0a338c969
commit
231f8c2969
@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
|||||||
include $(INCLUDE_DIR)/version.mk
|
include $(INCLUDE_DIR)/version.mk
|
||||||
|
|
||||||
PKG_NAME:=base-files
|
PKG_NAME:=base-files
|
||||||
PKG_RELEASE:=127
|
PKG_RELEASE:=128
|
||||||
|
|
||||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
PKG_BUILD_DEPENDS:=opkg/host
|
PKG_BUILD_DEPENDS:=opkg/host
|
||||||
|
@ -193,7 +193,7 @@ network_get_prefix6() {
|
|||||||
|
|
||||||
__network_parse_ifstatus "$__iface" || return 1
|
__network_parse_ifstatus "$__iface" || return 1
|
||||||
__network_export __mask "${__iface}_prefix6_mask" || 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 $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user