summaryrefslogtreecommitdiff
path: root/package/dnsmasq/files/dnsmasq.init
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-09 01:41:06 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-09 01:41:06 +0000
commit9b8ff17f8ca156189e0787f4b0bd88f207530832 (patch)
tree6b95a6c09772d088e64965a77fbfbb19002c991d /package/dnsmasq/files/dnsmasq.init
parentf05bb5f27586be70671586480ccdb8c2612e4612 (diff)
downloadmtk-20170518-9b8ff17f8ca156189e0787f4b0bd88f207530832.zip
mtk-20170518-9b8ff17f8ca156189e0787f4b0bd88f207530832.tar.gz
mtk-20170518-9b8ff17f8ca156189e0787f4b0bd88f207530832.tar.bz2
dnsmasq: remove redundant code introduced with r20074
SVN-Revision: 20079
Diffstat (limited to 'package/dnsmasq/files/dnsmasq.init')
-rw-r--r--package/dnsmasq/files/dnsmasq.init3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 4f8ff9d..64eeded 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -176,9 +176,6 @@ dhcp_host_add() {
config_get networkid "$cfg" networkid
[ -n "$networkid" ] && dhcp_option_add "$cfg" "$networkid"
- config_get macs "$cfg" mac
- [ -n "$macs" ] || return 0
-
config_get ip "$cfg" ip
[ -n "$ip" ] || return 0