Fix missing IP section to properly add static hosts (#2650)

SVN-Revision: 9502
This commit is contained in:
Florian Fainelli 2007-11-05 14:14:06 +00:00
parent 558d0a4858
commit 547984d91d

View File

@ -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"