summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/net-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/net-util.c b/src/shared/net-util.c
index 85278e5de6..8f8cfc9fdb 100644
--- a/src/shared/net-util.c
+++ b/src/shared/net-util.c
@@ -49,7 +49,7 @@ bool net_match_config(const struct ether_addr *match_mac,
if (match_driver && !streq_ptr(match_driver, dev_driver))
return 0;
- if (match_type && !streq_ptr(match_type, dev_type) && !(streq(match_type, "ethernet") && !dev_type))
+ if (match_type && !streq_ptr(match_type, dev_type))
return 0;
if (match_name && !streq_ptr(match_name, dev_name))