]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Reverse the test for whether or not we're using the fallback interface - we want...
authorTed Lemon <source@isc.org>
Tue, 24 Nov 1998 22:57:56 +0000 (22:57 +0000)
committerTed Lemon <source@isc.org>
Tue, 24 Nov 1998 22:57:56 +0000 (22:57 +0000)
relay/dhcrelay.c

index 77c186ea2713a698590f4189b44c47767e271ba0..e4bc8ecdbf15f709fa92e024206afd69e860f45f 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: dhcrelay.c,v 1.9.2.4 1998/06/25 21:11:34 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.9.2.5 1998/11/24 22:57:56 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -249,7 +249,7 @@ void relay (ip, packet, length, from_port, from, hfrom)
 
        /* 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;