dnsmasq: use config_get_bool for dnsmasq
authorSteven Barth <cyrus@openwrt.org>
Sun, 22 Jun 2014 15:34:36 +0000 (15:34 +0000)
committerSteven Barth <cyrus@openwrt.org>
Sun, 22 Jun 2014 15:34:36 +0000 (15:34 +0000)
SVN-Revision: 41302

package/network/services/dnsmasq/files/dnsmasq.init

index b6cd088..815f424 100644 (file)
@@ -187,7 +187,7 @@ dnsmasq() {
                config_list_foreach "$cfg" rebind_domain append_rebind_domain
        }
 
-       config_get dnssec "$cfg" dnssec
+       config_get_bool dnssec "$cfg" dnssec 0
        [ "$dnssec" -gt 0 ] && {
                xappend "--conf-file=$TRUSTANCHORSFILE"
                xappend "--dnssec"