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 b6cd088ec071a54018b0e8373e03c4cd1b03f3e2..815f424a66e20292df6cc23f90f689cf5e603c45 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"