summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1997-03-05 08:39:38 +0000
committerTed Lemon <source@isc.org>1997-03-05 08:39:38 +0000
commite7b9429fea969ea30bc7772b562c3894968fd584 (patch)
treef75bc1f44411996b9013903fa1e1b924604a1669
parent77967680f88a3c59d82d75680bbc7ea86f9bec60 (diff)
downloadisc-dhcp-DHCP-970305A.tar.gz
Oops - we're supposed to zero interfaces_invalidated at the end of the loop, not set it - this was causing the dispatcher to spinDHCP-970305A
-rw-r--r--common/dispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/dispatch.c b/common/dispatch.c
index 5e683a75..2674fb62 100644
--- a/common/dispatch.c
+++ b/common/dispatch.c
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
-"$Id: dispatch.c,v 1.34 1997/02/26 18:24:40 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dispatch.c,v 1.35 1997/03/05 08:39:38 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -540,7 +540,7 @@ void dispatch (parse)
!interfaces_invalidated)
fallback_discard (&fallback_interface);
#endif
- interfaces_invalidated = 1;
+ interfaces_invalidated = 0;
} while (1);
}
#endif /* USE_POLL */