wired: Fix handling of interface whitelist and blacklist
This commit is contained in:
parent
05ccd73818
commit
807a7802d8
|
@ -59,8 +59,8 @@ struct eapol {
|
|||
|
||||
static struct l_netlink *rtnl = NULL;
|
||||
static struct l_queue *ethdev_list = NULL;
|
||||
static char **whitelist_filter;
|
||||
static char **blacklist_filter;
|
||||
static char **whitelist_filter = NULL;
|
||||
static char **blacklist_filter = NULL;
|
||||
|
||||
static struct l_io *pae_io;
|
||||
|
||||
|
|
|
@ -95,6 +95,9 @@ int main(int argc, char *argv[])
|
|||
struct main_opts opts;
|
||||
const char *debugopt = NULL;
|
||||
|
||||
opts.interfaces = NULL;
|
||||
opts.nointerfaces = NULL;
|
||||
|
||||
for (;;) {
|
||||
int opt;
|
||||
|
||||
|
|
Loading…
Reference in New Issue