2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

AIX and Digital Unix compatibility fixes.

This commit is contained in:
Ted Lemon
2000-02-01 03:19:56 +00:00
parent fb6297b12b
commit cfdfb9f126
16 changed files with 57 additions and 71 deletions

View File

@@ -30,7 +30,7 @@
#ifndef lint
static char copyright[] =
"$Id: socket.c,v 1.43 2000/01/02 22:21:23 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
"$Id: socket.c,v 1.44 2000/02/01 03:19:39 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -213,7 +213,7 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
struct sockaddr_in *from;
struct hardware *hfrom;
{
int flen = sizeof *from;
socklen_t flen = sizeof *from;
int result;
#ifdef IGNORE_HOSTUNREACH
@@ -240,7 +240,7 @@ isc_result_t fallback_discard (object)
{
char buf [1540];
struct sockaddr_in from;
int flen = sizeof from;
socklen_t flen = sizeof from;
int status;
struct interface_info *interface;