[package] dnsmasq: add missing config_get, localize variables, bump package revision
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 23 Mar 2012 11:26:47 +0000 (11:26 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 23 Mar 2012 11:26:47 +0000 (11:26 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31058 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/dnsmasq/Makefile
package/dnsmasq/files/dnsmasq.init

index a23e9ff..9fc70b3 100644 (file)
@@ -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
index edd22ad..75a57e7 100644 (file)
@@ -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
This page took 0.027523 seconds and 4 git commands to generate.