#ifndef lint
static char copyright[] =
-"$Id: dhcrelay.c,v 1.14 1998/06/25 18:37:45 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.15 1998/11/05 18:51:16 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
return 0;
}
-void relay (ip, packbuf, length, from_port, from, hfrom)
+void relay (ip, packet, length, from_port, from, hfrom)
struct interface_info *ip;
struct dhcp_packet *packet;
int length;
/* If it's a bootreply, forward it to the client. */
if (packet -> op == BOOTREPLY) {
-#ifndef USE_FALLBACK
+#ifdef USE_FALLBACK
if (!(packet -> flags & htons (BOOTP_BROADCAST))) {
to.sin_addr = packet -> yiaddr;
to.sin_port = remote_port;
struct packet *packet;
{
}
+
+struct subnet *find_subnet (addr)
+ struct iaddr addr;
+{
+ return (struct subnet *)0;
+}