mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user