diff options
author | Tom Gundersen <teg@jklm.no> | 2013-11-28 20:06:42 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2013-11-28 20:06:42 +0100 |
commit | ff83aac3647e21f31ac5e2b575ec1285dc585f6b (patch) | |
tree | fa92eed08b45e342933596539e2074bd5cca4271 /src/udev/net | |
parent | f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3 (diff) |
Revert "link-config: match length for kernel commandline option"
This reverts commit da66338e17f4df04d9d7cc22ec971b416d57761e.
It is superseeded by 70f75a523b16ad495a7791d595ee3eececf75953
Diffstat (limited to 'src/udev/net')
-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; |