From: Ted Lemon Date: Sat, 13 Mar 1999 18:57:34 +0000 (+0000) Subject: Add interface argument to can_unicast_without_arp X-Git-Tag: V3-ALPHA-19990315~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=764b75a383f783cd694e5a5d6f5f57a10b4e055e;p=thirdparty%2Fdhcp.git Add interface argument to can_unicast_without_arp --- diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c index 5074a1a2b..aaca4309a 100644 --- a/relay/dhcrelay.c +++ b/relay/dhcrelay.c @@ -42,7 +42,7 @@ #ifndef lint static char ocopyright[] = -"$Id: dhcrelay.c,v 1.20 1999/02/25 23:30:38 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhcrelay.c,v 1.21 1999/03/13 18:57:34 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -335,7 +335,7 @@ void relay (ip, packet, length, from_port, from, hfrom) /* If it's a bootreply, forward it to the client. */ if (packet -> op == BOOTREPLY) { if (!(packet -> flags & htons (BOOTP_BROADCAST)) && - can_unicast_without_arp ()) { + can_unicast_without_arp (out)) { to.sin_addr = packet -> yiaddr; to.sin_port = remote_port; } else {