aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
parentc443f3d875147cc4dd7cc81712a405efb354691b (diff)
downloadupstream-265d0b379abb993fa73ee156463f50d064be63e9.tar.gz
upstream-265d0b379abb993fa73ee156463f50d064be63e9.tar.bz2
upstream-265d0b379abb993fa73ee156463f50d064be63e9.zip
dnsmasq: add missing config_get, localize variables, bump package revision
SVN-Revision: 31058
Diffstat (limited to 'package')
-rw-r--r--package/dnsmasq/Makefile4
-rw-r--r--package/dnsmasq/files/dnsmasq.init2
2 files changed, 4 insertions, 2 deletions
diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile
index a23e9ff795..9fc70b3daf 100644
--- a/package/dnsmasq/Makefile
+++ b/package/dnsmasq/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2011 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dnsmasq
PKG_VERSION:=2.59
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index edd22ad3eb..75a57e72c3 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