From e7b9429fea969ea30bc7772b562c3894968fd584 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Wed, 5 Mar 1997 08:39:38 +0000 Subject: Oops - we're supposed to zero interfaces_invalidated at the end of the loop, not set it - this was causing the dispatcher to spin --- common/dispatch.c | 4 ++-- 1 file 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 */ -- cgit v1.2.1