From: Ted Lemon Date: Sun, 19 May 1996 23:54:24 +0000 (+0000) Subject: Change SIN_LEN to SA_LEN; fix copyrights X-Git-Tag: BETA-2~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea4655911279ae8640dce054577a2d5bb6cd599c;p=thirdparty%2Fdhcp.git Change SIN_LEN to SA_LEN; fix copyrights --- diff --git a/bootp.c b/bootp.c index 6a9e37308..45fa6a653 100644 --- a/bootp.c +++ b/bootp.c @@ -42,7 +42,7 @@ #ifndef lint 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 */ #include "dhcpd.h" @@ -147,7 +147,7 @@ void bootp (packet) } to.sin_family = AF_INET; -#ifdef HAVE_SIN_LEN +#ifdef HAVE_SA_LEN to.sin_len = sizeof to; #endif memset (to.sin_zero, 0, sizeof to.sin_zero); diff --git a/server/bootp.c b/server/bootp.c index 6a9e37308..45fa6a653 100644 --- a/server/bootp.c +++ b/server/bootp.c @@ -42,7 +42,7 @@ #ifndef lint 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 */ #include "dhcpd.h" @@ -147,7 +147,7 @@ void bootp (packet) } to.sin_family = AF_INET; -#ifdef HAVE_SIN_LEN +#ifdef HAVE_SA_LEN to.sin_len = sizeof to; #endif memset (to.sin_zero, 0, sizeof to.sin_zero);