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:
parent
58d306b552
commit
f3d48b7160
@ -306,11 +306,15 @@ static int nfq_main(void)
|
|||||||
if (!nfq_init(&h,&qh))
|
if (!nfq_init(&h,&qh))
|
||||||
goto err;
|
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");
|
DLOG_ERR("cannot initialize wlan info capture\n");
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
DLOG("wlan info capture initialized\n");
|
||||||
|
}
|
||||||
|
|
||||||
if (params.daemon) daemonize();
|
if (params.daemon) daemonize();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user