From: Ted Lemon Date: Fri, 26 Jun 1998 18:20:44 +0000 (+0000) Subject: Account for argument promotion in assemble_udp_ip_header. X-Git-Tag: V2-BETA-1-PATCH-5~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e17c4c2782de0dfc176a4a4d75e70dd304935aa;p=thirdparty%2Fdhcp.git Account for argument promotion in assemble_udp_ip_header. --- diff --git a/common/packet.c b/common/packet.c index a90bd7521..069a76b81 100644 --- a/common/packet.c +++ b/common/packet.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: packet.c,v 1.18 1997/06/08 04:08:01 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: packet.c,v 1.18.2.1 1998/06/26 18:20:44 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -158,7 +158,7 @@ void assemble_udp_ip_header (interface, buf, bufix, int *bufix; u_int32_t from; u_int32_t to; - u_int16_t port; + unsigned int port; unsigned char *data; int len; {