diff options
Diffstat (limited to 'plugins/utils.c')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/netutils.c b/plugins/netutils.c index e6ffc54..7bf2254 100644 --- a/plugins/netutils.c +++ b/plugins/netutils.c | |||
@@ -39,7 +39,11 @@ | |||
39 | unsigned int socket_timeout = DEFAULT_SOCKET_TIMEOUT; | 39 | unsigned int socket_timeout = DEFAULT_SOCKET_TIMEOUT; |
40 | int econn_refuse_state = STATE_CRITICAL; | 40 | int econn_refuse_state = STATE_CRITICAL; |
41 | int was_refused = FALSE; | 41 | int was_refused = FALSE; |
42 | #if USE_IPV6 | ||
42 | int address_family = AF_UNSPEC; | 43 | int address_family = AF_UNSPEC; |
44 | #else | ||
45 | int address_family = AF_INET; | ||
46 | #endif | ||
43 | 47 | ||
44 | /* handles socket timeouts */ | 48 | /* handles socket timeouts */ |
45 | void | 49 | void |