From: Ted Lemon Date: Tue, 9 Dec 1997 20:19:52 +0000 (+0000) Subject: Pull rev 1.10 up from trunk X-Git-Tag: V2-BETA-2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb141575e7da69a9d9367ee365587e29598ffb83;p=thirdparty%2Fdhcp.git Pull rev 1.10 up from trunk --- diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c index a152131a0..0548a43b9 100644 --- a/relay/dhcrelay.c +++ b/relay/dhcrelay.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: dhcrelay.c,v 1.9 1997/12/06 04:03:04 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhcrelay.c,v 1.9.2.1 1997/12/09 20:19:52 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -241,7 +241,7 @@ void relay (ip, packbuf, length, from_port, from, hfrom) if (packet -> op == BOOTREPLY) { #ifndef USE_FALLBACK if (!(packet -> flags & htons (BOOTP_BROADCAST))) { - to.sin_addr = packet -> ciaddr; + to.sin_addr = packet -> yiaddr; to.sin_port = remote_port; } else #endif