- if (support.abort_threshold_supported && config.abort_threshold > 0) {
- DBG("TCP keep-alive abort threshold: %d enabled for socket %d", config.abort_threshold, socket_fd);
- ret = setsockopt(socket_fd, COMPAT_TCP_LEVEL, COMPAT_TCP_ABORT_THRESHOLD, &config.abort_threshold,
- sizeof(config.max_probe_count));
+ if (the_support.abort_threshold_supported &&
+ the_config.abort_threshold > 0) {
+ DBG("TCP keep-alive abort threshold: %d enabled for socket %d",
+ the_config.abort_threshold, socket_fd);
+ ret = setsockopt(socket_fd, COMPAT_TCP_LEVEL,
+ COMPAT_TCP_ABORT_THRESHOLD,
+ &the_config.abort_threshold,
+ sizeof(the_config.max_probe_count));