From ea4655911279ae8640dce054577a2d5bb6cd599c Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Sun, 19 May 1996 23:54:24 +0000 Subject: [PATCH] Change SIN_LEN to SA_LEN; fix copyrights --- bootp.c | 4 ++-- server/bootp.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bootp.c b/bootp.c index 6a9e3730..45fa6a65 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 6a9e3730..45fa6a65 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);