summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/includes/dhcpd.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-01-14 23:01:21 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-01-14 23:01:21 +0000
commit5a6bd6dab375575810f75de24d17c2189af9adcd (patch)
tree3d9564c6158d405ebd0da1a64f4ec7675d832506 /usr.sbin/dhcp/includes/dhcpd.h
parentd468113ddc0c5ba8e16ecb9db979c3b98e031714 (diff)
Compute UDP checksum, PR 1621 (matthieu.herrb@wanadoo.fr)
Diffstat (limited to 'usr.sbin/dhcp/includes/dhcpd.h')
-rw-r--r--usr.sbin/dhcp/includes/dhcpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/dhcp/includes/dhcpd.h b/usr.sbin/dhcp/includes/dhcpd.h
index 183ff87bf93..404624d34d2 100644
--- a/usr.sbin/dhcp/includes/dhcpd.h
+++ b/usr.sbin/dhcp/includes/dhcpd.h
@@ -845,7 +845,7 @@ void db_startup PROTO ((void));
void new_lease_file PROTO ((void));
/* packet.c */
-u_int32_t checksum PROTO ((unsigned char *, int, u_int32_t));
+u_int32_t checksum PROTO ((unsigned char *, unsigned, u_int32_t));
u_int32_t wrapsum PROTO ((u_int32_t));
void assemble_hw_header PROTO ((struct interface_info *, unsigned char *,
int *, struct hardware *));