2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-01 06:45:27 +00:00

Don't start ICMP if we're just testing a lease file.

This commit is contained in:
Ted Lemon
2001-03-01 22:11:50 +00:00
parent 5dafbb5bd5
commit 30a122eebc

View File

@@ -43,7 +43,7 @@
#ifndef lint #ifndef lint
static char ocopyright[] = 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 #endif
static char copyright[] = static char copyright[] =
@@ -439,6 +439,7 @@ int main (argc, argv, envp)
#endif #endif
/* Initialize icmp support... */ /* Initialize icmp support... */
if (!cftest && !lftest)
icmp_startup (1, lease_pinged); icmp_startup (1, lease_pinged);
#if defined (TRACING) #if defined (TRACING)