[packages] babeld: cope with empty flag options
authorkerneis <kerneis@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Jun 2011 07:30:23 +0000 (07:30 +0000)
committerkerneis <kerneis@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Jun 2011 07:30:23 +0000 (07:30 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27304 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/babel/Makefile
net/babel/files/babeld.init

index ca0483a..0eb8d2d 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=babeld
 PKG_VERSION:=1.1.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/
index 73c0c16..d6cd0d3 100755 (executable)
@@ -29,7 +29,7 @@ append_bool() {
        local option="$2"
        local value="$3"
        local _loctmp
-       config_get_bool _loctmp "$section" "$option"
+       config_get_bool _loctmp "$section" "$option" 0
        [ "$_loctmp" -gt 0 ] && append args "$value"
 }