[packages] olsrd: allow pipe signs for service descriptions in olsr init script;...
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 3 Aug 2009 18:35:48 +0000 (18:35 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 3 Aug 2009 18:35:48 +0000 (18:35 +0000)
SVN-Revision: 17106

net/olsrd/Makefile
net/olsrd/files/olsrd.init

index 9b23d20..802c548 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=olsrd
 PKG_VERSION:=0.5.6-r5
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.olsr.org/releases/0.5
index f719c45..4cc4e42 100644 (file)
@@ -26,7 +26,7 @@ validate_ifname() {
 
 validate_olsrd_option() {
        local str="$1"
-       [ -z "$str" -o "$str" != "${str%%[!     0-9A-Za-z./:_-]*}" ] && return 1
+       [ -z "$str" -o "$str" != "${str%%[!     0-9A-Za-z./|:_-]*}" ] && return 1
        return 0
 }