[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:
jow 2012-09-12 09:42:44 +00:00
parent 4aba6ee90e
commit 706c091e76
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=radvd
PKG_VERSION:=1.9.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://v6web.litech.org/radvd/dist \

View File

@ -39,7 +39,7 @@ validate_ip6prefix() {
validate_radvd_string() {
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
}