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

Add HAVE_SIN_LEN test

This commit is contained in:
Ted Lemon
1996-03-06 10:41:34 +00:00
parent 73fd7342cd
commit e1987f8825
2 changed files with 4 additions and 0 deletions

View File

@@ -289,7 +289,9 @@ void do_a_line (sock)
/* inet_aton ("130.129.63.255", &to.sin_addr);*//* XXX bcst bug */
to.sin_family = AF_INET;
#ifdef HAVE_SIN_LEN
to.sin_len = sizeof to;
#endif
memset (to.sin_zero, 0, sizeof to.sin_zero);
note ("Sending dhcp request to %s, port %d",

View File

@@ -289,7 +289,9 @@ void do_a_line (sock)
/* inet_aton ("130.129.63.255", &to.sin_addr);*//* XXX bcst bug */
to.sin_family = AF_INET;
#ifdef HAVE_SIN_LEN
to.sin_len = sizeof to;
#endif
memset (to.sin_zero, 0, sizeof to.sin_zero);
note ("Sending dhcp request to %s, port %d",