0
0
mirror of https://github.com/bol-van/zapret.git synced 2025-06-30 10:33:56 +00:00

nfqws: debug wlan info init

This commit is contained in:
bol-van 2025-06-04 10:05:21 +03:00
parent 58d306b552
commit f3d48b7160

View File

@ -306,11 +306,15 @@ static int nfq_main(void)
if (!nfq_init(&h,&qh))
goto err;
if (params.filter_ssid_present && !wlan_info_init())
if (params.filter_ssid_present)
{
if (!wlan_info_init())
{
DLOG_ERR("cannot initialize wlan info capture\n");
goto err;
}
DLOG("wlan info capture initialized\n");
}
if (params.daemon) daemonize();