From: Ted Lemon Date: Wed, 5 Mar 1997 08:39:38 +0000 (+0000) Subject: Oops - we're supposed to zero interfaces_invalidated at the end of the loop, not... X-Git-Tag: DHCP-970305A X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7b9429fea969ea30bc7772b562c3894968fd584;p=thirdparty%2Fdhcp.git Oops - we're supposed to zero interfaces_invalidated at the end of the loop, not set it - this was causing the dispatcher to spin --- diff --git a/common/dispatch.c b/common/dispatch.c index 5e683a757..2674fb621 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 */