[systemd-commits] src/udev

Tom Gundersen tomegun at kemper.freedesktop.org
Thu Nov 28 11:03:23 PST 2013


 src/udev/net/link-config.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ff83aac3647e21f31ac5e2b575ec1285dc585f6b
Author: Tom Gundersen <teg at jklm.no>
Date:   Thu Nov 28 20:06:42 2013 +0100

    Revert "link-config: match length for kernel commandline option"
    
    This reverts commit da66338e17f4df04d9d7cc22ec971b416d57761e.
    
    It is superseeded by 70f75a523b16ad495a7791d595ee3eececf75953

diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c
index 37918d3..738954c 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;



More information about the systemd-commits mailing list