mirror of https://github.com/hak5/openwrt-owl.git
parent
558d0a4858
commit
547984d91d
|
@ -144,6 +144,8 @@ dhcp_host_add() {
|
||||||
config_get mac "$cfg" mac
|
config_get mac "$cfg" mac
|
||||||
[ -n "$mac" ] || return 0
|
[ -n "$mac" ] || return 0
|
||||||
|
|
||||||
|
config_get ip "$cfg" ip
|
||||||
|
[ -n "$ip" ] || return 0
|
||||||
|
|
||||||
append args "--dhcp-host=$mac,$ip"
|
append args "--dhcp-host=$mac,$ip"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue