]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Change SIN_LEN to SA_LEN; fix copyrights
authorTed Lemon <source@isc.org>
Sun, 19 May 1996 23:54:24 +0000 (23:54 +0000)
committerTed Lemon <source@isc.org>
Sun, 19 May 1996 23:54:24 +0000 (23:54 +0000)
bootp.c
server/bootp.c

diff --git a/bootp.c b/bootp.c
index 6a9e37308df74e8d2f08665712b709fa1e1fdb25..45fa6a6534be7d731b5131441d21bd2be6c001ae 100644 (file)
--- 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);
index 6a9e37308df74e8d2f08665712b709fa1e1fdb25..45fa6a6534be7d731b5131441d21bd2be6c001ae 100644 (file)
@@ -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);