projects
/
openwrt
/
staging
/
chunkeey.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
558d0a4
)
Fix missing IP section to properly add static hosts (#2650)
author
Florian Fainelli
<florian@openwrt.org>
Mon, 5 Nov 2007 14:14:06 +0000
(14:14 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Mon, 5 Nov 2007 14:14:06 +0000
(14:14 +0000)
SVN-Revision: 9502
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index 9797490c4719d405621be03e567c3a13947b4e77..75b20df0ebab90c3d73f732cd582300610191fdb 100644
(file)
--- 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"