wired: Fix handling of interface whitelist and blacklist

This commit is contained in:
Marcel Holtmann 2018-09-17 10:10:33 +02:00
parent 05ccd73818
commit 807a7802d8
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -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;