2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00

Change SIN_LEN to SA_LEN; fix copyrights

This commit is contained in:
Ted Lemon
1996-05-19 23:54:24 +00:00
parent f6123fabc8
commit ea46559112
2 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"@(#) Copyright (c) 1995 The Internet Software Consortium. All rights reserved.\n"; "@(#) Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@@ -147,7 +147,7 @@ void bootp (packet)
} }
to.sin_family = AF_INET; to.sin_family = AF_INET;
#ifdef HAVE_SIN_LEN #ifdef HAVE_SA_LEN
to.sin_len = sizeof to; to.sin_len = sizeof to;
#endif #endif
memset (to.sin_zero, 0, sizeof to.sin_zero); memset (to.sin_zero, 0, sizeof to.sin_zero);

View File

@@ -42,7 +42,7 @@
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"@(#) Copyright (c) 1995 The Internet Software Consortium. All rights reserved.\n"; "@(#) Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@@ -147,7 +147,7 @@ void bootp (packet)
} }
to.sin_family = AF_INET; to.sin_family = AF_INET;
#ifdef HAVE_SIN_LEN #ifdef HAVE_SA_LEN
to.sin_len = sizeof to; to.sin_len = sizeof to;
#endif #endif
memset (to.sin_zero, 0, sizeof to.sin_zero); memset (to.sin_zero, 0, sizeof to.sin_zero);