Revert "link-config: match length for kernel commandline option"

This reverts commit da66338e17.

It is superseeded by 70f75a523b
This commit is contained in:
Tom Gundersen
2013-11-28 20:06:42 +01:00
parent f38afcd0c7
commit ff83aac364
+1 -1
View 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;