1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 20:18:33 +03:00

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
This commit is contained in:
florian 2007-11-05 14:14:06 +00:00
parent a3d3ab2610
commit 02ab35ee7f

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"