]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
to is pointer to struct, not struct
authorTed Lemon <source@isc.org>
Sat, 29 Mar 1997 03:19:02 +0000 (03:19 +0000)
committerTed Lemon <source@isc.org>
Sat, 29 Mar 1997 03:19:02 +0000 (03:19 +0000)
common/socket.c

index e2a211a8f404d5b9371f4f05105b94cad9d312ab..bd9b49a54bc1ca14b0e26955208f2c707c694626 100644 (file)
@@ -50,7 +50,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: socket.c,v 1.23 1997/03/29 01:26:08 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: socket.c,v 1.24 1997/03/29 03:19:02 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -201,7 +201,7 @@ size_t send_packet (interface, packet, raw, len, from, to, hto)
                result = sendto (interface -> wfdesc, (char *)raw, len, 0,
                                 (struct sockaddr *)to, sizeof *to);
 #ifdef IGNORE_HOSTUNREACH
-       } while (to.sin_addr.s_addr = htonl (INADDR_BROADCAST) &&
+       } while (to -> sin_addr.s_addr = htonl (INADDR_BROADCAST) &&
                 result < 0 &&
                 (errno == EHOSTUNREACH ||
                  errno == ECONNREFUSED) &&