mirror of
https://github.com/bol-van/zapret.git
synced 2025-06-30 02:31:16 +00:00
nfqws: debug wlan info init
This commit is contained in:
parent
58d306b552
commit
f3d48b7160
10
nfq/nfqws.c
10
nfq/nfqws.c
@ -306,10 +306,14 @@ 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)
|
||||
{
|
||||
DLOG_ERR("cannot initialize wlan info capture\n");
|
||||
goto err;
|
||||
if (!wlan_info_init())
|
||||
{
|
||||
DLOG_ERR("cannot initialize wlan info capture\n");
|
||||
goto err;
|
||||
}
|
||||
DLOG("wlan info capture initialized\n");
|
||||
}
|
||||
|
||||
if (params.daemon) daemonize();
|
||||
|
Loading…
Reference in New Issue
Block a user