Commit 1f526fbc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

ifdef the param structure, we only need it if we have TCP_KEEP

parent dee9dd00
......@@ -49,6 +49,8 @@
#include "mgt/mgt_param.h"
#ifdef HAVE_TCP_KEEP
static struct parspec mgt_parspec_tcp_keep[] = {
{ "tcp_keepalive_time", tweak_timeout, &mgt_param.tcp_keepalive_time,
"1", "7200",
......@@ -71,8 +73,6 @@ static struct parspec mgt_parspec_tcp_keep[] = {
{ NULL, NULL, NULL }
};
#ifdef HAVE_TCP_KEEP
static void
tcp_probe(int sock, int nam, const char *param, unsigned def)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment