From: Jo-Philipp Wich Date: Wed, 12 Sep 2012 09:42:44 +0000 (+0000) Subject: [packages] radvd: allow uppercase chars in string literals (#12174) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=11413662339d384c20e74d5d86868ea40f7a108e;p=openwrt%2Fsvn-archive%2Farchive.git [packages] radvd: allow uppercase chars in string literals (#12174) SVN-Revision: 33377 --- diff --git a/ipv6/radvd/Makefile b/ipv6/radvd/Makefile index 076a056b28..571d9dee05 100644 --- a/ipv6/radvd/Makefile +++ b/ipv6/radvd/Makefile @@ -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 \ diff --git a/ipv6/radvd/files/radvd.init b/ipv6/radvd/files/radvd.init index 81e9001c33..8311c35e18 100644 --- a/ipv6/radvd/files/radvd.init +++ b/ipv6/radvd/files/radvd.init @@ -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 }