]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
dhcp6: slightly improve log message
authorLennart Poettering <lennart@poettering.net>
Mon, 18 May 2020 19:36:45 +0000 (21:36 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 19 May 2020 06:25:43 +0000 (08:25 +0200)
Let's clarify that we proceed anyway.

Prompted-by: #15830
src/libsystemd-network/sd-dhcp6-client.c

index d04cb869a30e0a3919b0889cd7f968e53945ca98..51716c28bb604edd4f4e25513cc839a15e7f48d9 100644 (file)
@@ -253,7 +253,8 @@ static int dhcp6_client_set_duid_internal(
                         r = dhcp_validate_duid_len(duid_type, duid_len, false);
                         if (r < 0)
                                 return log_dhcp6_client_errno(client, r, "Failed to validate length of DUID: %m");
-                        log_dhcp6_client(client, "Setting DUID of type %u with unexpected content", duid_type);
+
+                        log_dhcp6_client(client, "Using DUID of type %u of incorrect length, proceeding.", duid_type);
                 }
 
                 client->duid.type = htobe16(duid_type);