[packages] radvd: allow uppercase chars in string literals (#12174)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33377 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4aba6ee90e
commit
706c091e76
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=radvd
|
PKG_NAME:=radvd
|
||||||
PKG_VERSION:=1.9.1
|
PKG_VERSION:=1.9.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://v6web.litech.org/radvd/dist \
|
PKG_SOURCE_URL:=http://v6web.litech.org/radvd/dist \
|
||||||
|
@ -39,7 +39,7 @@ validate_ip6prefix() {
|
|||||||
|
|
||||||
validate_radvd_string() {
|
validate_radvd_string() {
|
||||||
local radvd_string=$1
|
local radvd_string=$1
|
||||||
[ -z "$radvd_string" -o "$radvd_string" != "${radvd_string%%[!a-z0-9.:_-]*}" ] && return 1
|
[ -z "$radvd_string" -o "$radvd_string" != "${radvd_string%%[!A-Za-z0-9.:_-]*}" ] && return 1
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user