]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix Socket API-specific error DHCP_970226A
authorTed Lemon <source@isc.org>
Thu, 27 Feb 1997 03:41:28 +0000 (03:41 +0000)
committerTed Lemon <source@isc.org>
Thu, 27 Feb 1997 03:41:28 +0000 (03:41 +0000)
relay/dhcrelay.c

index 2daa98d34a3b6868c2b2c99d9b57e75b0bd0868c..6b7b965c3b8432ee461e04e5c084cf3b6ddc6367 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: dhcrelay.c,v 1.2 1997/02/22 12:28:26 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.3 1997/02/27 03:41:28 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -182,7 +182,7 @@ void relay (ip, packet, length)
        if (packet -> op == BOOTREPLY) {
 #ifndef USE_FALLBACK
                if (!packet -> flags & htons (BOOTP_BROADCAST)) {
-                       to.sin_addr = packet -> raw -> ciaddr;
+                       to.sin_addr = packet -> ciaddr;
                        to.sin_port = remote_port;
                } else
 #endif