diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-11-05 14:14:06 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-11-05 14:14:06 +0000 |
commit | 02ab35ee7f8f25ac56ac0e8ccbaa51926a0d92ea (patch) | |
tree | c195c519a047780b4e882d79b3c43f53dafb44c7 | |
parent | a3d3ab2610e8226156445c6e777852c97c2d9921 (diff) |
Fix missing IP section to properly add static hosts (#2650)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9502 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/dnsmasq/files/dnsmasq.init | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 9797490c47..75b20df0eb 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -144,6 +144,8 @@ dhcp_host_add() { config_get mac "$cfg" mac [ -n "$mac" ] || return 0 + config_get ip "$cfg" ip + [ -n "$ip" ] || return 0 append args "--dhcp-host=$mac,$ip" |