From f20418ef9cbcd237c7901135def7c098122a1dc1 Mon Sep 17 00:00:00 2001 From: Gabriel Kerneis Date: Wed, 29 Jun 2011 07:30:21 +0000 Subject: [PATCH] [packages] ahcpd: cope with empty flag options SVN-Revision: 27303 --- ipv6/ahcpd/Makefile | 2 +- ipv6/ahcpd/files/ahcp.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipv6/ahcpd/Makefile b/ipv6/ahcpd/Makefile index 1a1f4df231..b417c60147 100644 --- a/ipv6/ahcpd/Makefile +++ b/ipv6/ahcpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ahcpd PKG_VERSION:=0.51 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/ diff --git a/ipv6/ahcpd/files/ahcp.sh b/ipv6/ahcpd/files/ahcp.sh index e909def530..805013c4c2 100644 --- a/ipv6/ahcpd/files/ahcp.sh +++ b/ipv6/ahcpd/files/ahcp.sh @@ -3,7 +3,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" } -- 2.30.2