From e6eccd10a84909b14ec93ba06195512273a4a96e Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Wed, 1 May 2019 15:55:11 -0400 Subject: [#10,!6] Added ping-timeout-ms parameter You can now use ping-timeout-ms to specify the ping timeout value in milliseconds. includes/dhcpd.h new defines: SV_PING_TIMEOUT_MS and DEFAULT_PING_TIMEOUT_MS server/dhcp.c do_ping_check() - modified to calculate ping time from ping-timeout-ms when its > 0, otherwise use ping-timeout Added timeout value to debug log message server/dhcpd.conf.5 Added discussion of ping-timeout-ms server/stables.c Added entry for ping-timeout-ms --- server/stables.c | 1 + 1 file changed, 1 insertion(+) (limited to 'server/stables.c') diff --git a/server/stables.c b/server/stables.c index 75847270..1a08201e 100644 --- a/server/stables.c +++ b/server/stables.c @@ -292,6 +292,7 @@ static struct option server_options[] = { { "local-address6", "6", &server_universe, SV_LOCAL_ADDRESS6, 1 }, { "bind-local-address6", "f", &server_universe, SV_BIND_LOCAL_ADDRESS6, 1 }, { "ping-cltt-secs", "T", &server_universe, SV_PING_CLTT_SECS, 1 }, + { "ping-timeout-ms", "T", &server_universe, SV_PING_TIMEOUT_MS, 1 }, { NULL, NULL, NULL, 0, 0 } }; -- cgit v1.2.1