summaryrefslogtreecommitdiff
path: root/package/dnsmasq/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-23 11:26:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-23 11:26:47 +0000
commit265d0b379abb993fa73ee156463f50d064be63e9 (patch)
treeab99b565606e48424d9c3d5c5369945a19bf4b68 /package/dnsmasq/files
parentc443f3d875147cc4dd7cc81712a405efb354691b (diff)
downloadmtk-20170518-265d0b379abb993fa73ee156463f50d064be63e9.zip
mtk-20170518-265d0b379abb993fa73ee156463f50d064be63e9.tar.gz
mtk-20170518-265d0b379abb993fa73ee156463f50d064be63e9.tar.bz2
dnsmasq: add missing config_get, localize variables, bump package revision
SVN-Revision: 31058
Diffstat (limited to 'package/dnsmasq/files')
-rw-r--r--package/dnsmasq/files/dnsmasq.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index edd22ad..75a57e7 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -372,7 +372,9 @@ dhcp_srv_add() {
dhcp_mx_add() {
local cfg="$1"
+ local domain relay pref
+ config_get domain "$cfg" domain
[ -n "$domain" ] || return 0
config_get relay "$cfg" relay