dnsmasq: add missing config_get, localize variables, bump package revision

SVN-Revision: 31058
master
Jo-Philipp Wich 13 years ago
parent c443f3d875
commit 265d0b379a
  1. 4
      package/dnsmasq/Makefile
  2. 2
      package/dnsmasq/files/dnsmasq.init

@ -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. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dnsmasq PKG_NAME:=dnsmasq
PKG_VERSION:=2.59 PKG_VERSION:=2.59
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq

@ -372,7 +372,9 @@ dhcp_srv_add() {
dhcp_mx_add() { dhcp_mx_add() {
local cfg="$1" local cfg="$1"
local domain relay pref
config_get domain "$cfg" domain
[ -n "$domain" ] || return 0 [ -n "$domain" ] || return 0
config_get relay "$cfg" relay config_get relay "$cfg" relay

Loading…
Cancel
Save