Commit 20ef818a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Complain if we cannot probe TCP keepalive parameters.

parent a1e20fac
......@@ -114,8 +114,11 @@ tkp_callback(void *priv, const struct suckaddr *sa)
static void
tcp_keep_probes(void)
{
const char *err;
/* Probe a dummy socket for default values */
(void)VSS_resolver(":0", NULL, tkp_callback, NULL, NULL);
(void)VSS_resolver(":0", NULL, tkp_callback, NULL, &err);
if (err != NULL)
ARGV_ERR("Could not probe TCP keepalives: %s", err);
}
#endif
......
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