From 30a122eebc7a797db95ba032a6f7b2c31d5ef8eb Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Thu, 1 Mar 2001 22:11:50 +0000 Subject: [PATCH] Don't start ICMP if we're just testing a lease file. --- server/dhcpd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/dhcpd.c b/server/dhcpd.c index f1f9e9f68..3504565aa 100644 --- a/server/dhcpd.c +++ b/server/dhcpd.c @@ -43,7 +43,7 @@ #ifndef lint static char ocopyright[] = -"$Id: dhcpd.c,v 1.112 2001/02/22 00:18:54 mellon Exp $ Copyright 1995-2001 Internet Software Consortium."; +"$Id: dhcpd.c,v 1.113 2001/03/01 22:11:50 mellon Exp $ Copyright 1995-2001 Internet Software Consortium."; #endif static char copyright[] = @@ -439,7 +439,8 @@ int main (argc, argv, envp) #endif /* Initialize icmp support... */ - icmp_startup (1, lease_pinged); + if (!cftest && !lftest) + icmp_startup (1, lease_pinged); #if defined (TRACING) if (traceinfile) { -- 2.47.2