Revert "link-config: match length for kernel commandline option"
This reverts commitda66338e17. It is superseeded by70f75a523b
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user