diff options
author | Thomas Markwalder <tmark@isc.org> | 2019-06-07 08:58:20 -0400 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2019-06-07 08:58:20 -0400 |
commit | ebe4f7ae427fa91f561a0b6e5f242de08d319a16 (patch) | |
tree | e525dbfecb6e626a82596a1bae4ee00ecb5c6e5f /includes | |
parent | ddb508ac083dae4ff83279dd240bad7f73a97b7d (diff) | |
parent | 5918b493440f02987eca01fafc7630f365beb343 (diff) | |
download | isc-dhcp-ebe4f7ae427fa91f561a0b6e5f242de08d319a16.tar.gz |
[master] Added ping-timeout-ms parameter
Merge branch '10-make-ping-check-timeout-configurable-in-ms-thus-allowing-timeouts-1s'
Diffstat (limited to 'includes')
-rw-r--r-- | includes/dhcpd.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/includes/dhcpd.h b/includes/dhcpd.h index 92f77f22..2907fcfa 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -816,16 +816,20 @@ struct lease_state { #define SV_LOCAL_ADDRESS6 97 #define SV_BIND_LOCAL_ADDRESS6 98 #define SV_PING_CLTT_SECS 99 +#define SV_PING_TIMEOUT_MS 100 #if !defined (DEFAULT_PING_TIMEOUT) # define DEFAULT_PING_TIMEOUT 1 #endif +#if !defined (DEFAULT_PING_TIMEOUT_MS) +# define DEFAULT_PING_TIMEOUT_MS 0 +#endif + #if !defined (DEFAULT_PING_CLTT_SECS) # define DEFAULT_PING_CLTT_SECS 60 /* in seconds */ #endif - #if !defined (DEFAULT_DELAYED_ACK) # define DEFAULT_DELAYED_ACK 0 /* default 0 disables delayed acking */ #endif |