uspot: dns_state was not getting reset correctly when flushing a client

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2022-10-14 09:18:51 +02:00
committed by jaspreetsachdev
parent 0bb8d0dcc0
commit 9c2f0a098d

View File

@@ -189,6 +189,7 @@ function client_timeout(mac) {
ubus.call('spotfilter', 'client_set', {
interface: "hotspot",
state: 0,
dns_state: 1,
address: mac,
accounting: [],
flush: true,