changeset 4277:97f2363a60cf draft

dhcp: checksum failure could be IP header too
author Roy Marples <roy@marples.name>
date Sun, 06 May 2018 16:50:35 +0100
parents 0780bdeb5e75
children 7263f7c073b4
files src/dhcp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dhcp.c	Sun May 06 16:28:33 2018 +0100
+++ b/src/dhcp.c	Sun May 06 16:50:35 2018 +0100
@@ -3334,7 +3334,7 @@
 			     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",