From: jow 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.archive.openwrt.org/?a=commitdiff_plain;h=706c091e76dc05c4a362fb35194247ad95f405b9;p=packages.git [packages] radvd: allow uppercase chars in string literals (#12174) git-svn-id: svn://svn.openwrt.org/openwrt/packages@33377 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/ipv6/radvd/Makefile b/ipv6/radvd/Makefile index 076a056b2..571d9dee0 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 81e9001c3..8311c35e1 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 }