diff options
Diffstat (limited to 'src/udev/net/link-config.c')
-rw-r--r-- | src/udev/net/link-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index 37918d35e3..738954c728 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -202,7 +202,7 @@ static bool enable_name_policy(void) { return true; FOREACH_WORD_QUOTED(w, l, line, state) - if (l == sizeof("net.ifnames=0") - 1 && strneq(w, "net.ifnames=0", l)) + if (strneq(w, "net.ifnames=0", l)) return false; return true; |