summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/network-internal.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-02-16 14:04:36 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-02-16 14:04:36 -0500
commit2404701e679904979751816930101511d8ec5d49 (patch)
tree618719c0296c0362978d5f8f2f662a9ef103fad7 /src/libsystemd-network/network-internal.c
parentd49dc8127676358e706663f3603265942d2507aa (diff)
Transpose args in strv_fnmatch() to be more oo
Diffstat (limited to 'src/libsystemd-network/network-internal.c')
-rw-r--r--src/libsystemd-network/network-internal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsystemd-network/network-internal.c b/src/libsystemd-network/network-internal.c
index 81f90aa389..b8e4e21716 100644
--- a/src/libsystemd-network/network-internal.c
+++ b/src/libsystemd-network/network-internal.c
@@ -113,19 +113,19 @@ bool net_match_config(const struct ether_addr *match_mac,
return false;
if (!strv_isempty(match_paths) &&
- (!dev_path || !strv_fnmatch(dev_path, match_paths, 0)))
+ (!dev_path || !strv_fnmatch(match_paths, dev_path, 0)))
return false;
if (!strv_isempty(match_drivers) &&
- (!dev_driver || !strv_fnmatch(dev_driver, match_drivers, 0)))
+ (!dev_driver || !strv_fnmatch(match_drivers, dev_driver, 0)))
return false;
if (!strv_isempty(match_types) &&
- (!dev_type || !strv_fnmatch_or_empty(dev_type, match_types, 0)))
+ (!dev_type || !strv_fnmatch_or_empty(match_types, dev_type, 0)))
return false;
if (!strv_isempty(match_names) &&
- (!dev_name || !strv_fnmatch_or_empty(dev_name, match_names, 0)))
+ (!dev_name || !strv_fnmatch_or_empty(match_names, dev_name, 0)))
return false;
return true;