]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Account for argument promotion in assemble_udp_ip_header.
authorTed Lemon <source@isc.org>
Fri, 26 Jun 1998 18:20:44 +0000 (18:20 +0000)
committerTed Lemon <source@isc.org>
Fri, 26 Jun 1998 18:20:44 +0000 (18:20 +0000)
common/packet.c

index a90bd75219ee57109c13699128ba50b70e049c7d..069a76b81762075631ca4204854e6789bf78844b 100644 (file)
@@ -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;
 {