chiark / gitweb /
Revert "link-config: match length for kernel commandline option"
[elogind.git] / src / udev / net / link-config.c
index 37918d35e3e07cda73ad539a82363b76444ec0ba..738954c728910f290f0f2cc362c7b777ff36e45b 100644 (file)
@@ -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;