mirror of https://github.com/hak5/openwrt.git
hostapd: fix maclist processing with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38991lede-17.01
parent
6e0fafd816
commit
603c532eed
|
@ -308,7 +308,7 @@ hostapd_set_bss_options() {
|
|||
esac
|
||||
fi
|
||||
|
||||
_macfile="/var/run/hostapd-$phy-$ifname.maclist"
|
||||
_macfile="/var/run/hostapd-$ifname.maclist"
|
||||
case "$macfilter" in
|
||||
allow)
|
||||
append bss_conf "macaddr_acl=1" "$N"
|
||||
|
@ -324,7 +324,8 @@ hostapd_set_bss_options() {
|
|||
esac
|
||||
|
||||
[ -n "$_macfile" ] && {
|
||||
json_get_vars macfile maclist
|
||||
json_get_vars macfile
|
||||
json_get_values maclist maclist
|
||||
|
||||
rm -f "$_macfile"
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue