2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +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
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,6 +439,7 @@ int main (argc, argv, envp)
#endif
/* Initialize icmp support... */
if (!cftest && !lftest)
icmp_startup (1, lease_pinged);
#if defined (TRACING)