Skip to content
Snippets Groups Projects
Commit 547984d9 authored by Florian Fainelli's avatar Florian Fainelli
Browse files

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

SVN-Revision: 9502
parent 558d0a48
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment