summaryrefslogtreecommitdiff
path: root/common/dlpi.c
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2014-09-18 15:25:02 -0400
committerThomas Markwalder <tmark@isc.org>2014-09-18 15:25:02 -0400
commit7ff6ae5aa85754119319def3c7f225a40da299c4 (patch)
tree951d41bc1c93c2166eb468bc4c844cbe2e46ec2a /common/dlpi.c
parentbd49432ff42d9b423319cebe25831f954ab63b81 (diff)
downloadisc-dhcp-7ff6ae5aa85754119319def3c7f225a40da299c4.tar.gz
[master] Checkum handling fixes
Merges in rt22806
Diffstat (limited to 'common/dlpi.c')
-rw-r--r--common/dlpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/dlpi.c b/common/dlpi.c
index 391fb91f..c34adc39 100644
--- a/common/dlpi.c
+++ b/common/dlpi.c
@@ -3,7 +3,7 @@
Data Link Provider Interface (DLPI) network interface code. */
/*
- * Copyright (c) 2009-2011 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2009-2011,2014 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2004,2007 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet Software Consortium
*
@@ -691,7 +691,7 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
length -= offset;
#endif
offset = decode_udp_ip_header (interface, dbuf, bufix,
- from, length, &paylen);
+ from, length, &paylen, 1);
/*
* If the IP or UDP checksum was bad, skip the packet...