]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
dhcp: checksum failure could be IP header too
authorRoy Marples <roy@marples.name>
Sun, 6 May 2018 15:50:35 +0000 (16:50 +0100)
committerRoy Marples <roy@marples.name>
Sun, 6 May 2018 15:50:35 +0000 (16:50 +0100)
src/dhcp.c

index 80ffe4fc36f8c82fdea5acc40a9cb3caa2ef76a2..b64254a72fe8497b28757c7e0e45573f7053976b 100644 (file)
@@ -3334,7 +3334,7 @@ dhcp_handlepacket(struct interface *ifp, uint8_t *data, size_t len)
                             state->bpf_flags & RAW_PARTIALCSUM) == -1)
        {
                if (errno == EINVAL)
-                       logerrx("%s: UDP checksum failure from %s",
+                       logerrx("%s: checksum failure from %s",
                          ifp->name, inet_ntoa(from));
                else
                        logerr("%s: invalid UDP packet from %s",