3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

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_netlink *rtnl = NULL;
static struct l_queue *ethdev_list = NULL; static struct l_queue *ethdev_list = NULL;
static char **whitelist_filter; static char **whitelist_filter = NULL;
static char **blacklist_filter; static char **blacklist_filter = NULL;
static struct l_io *pae_io; static struct l_io *pae_io;

View File

@ -95,6 +95,9 @@ int main(int argc, char *argv[])
struct main_opts opts; struct main_opts opts;
const char *debugopt = NULL; const char *debugopt = NULL;
opts.interfaces = NULL;
opts.nointerfaces = NULL;
for (;;) { for (;;) {
int opt; int opt;