diff options
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 3461c33..158475e 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -228,7 +228,8 @@ main (int argc, char **argv) | |||
228 | { | 228 | { |
229 | if (PROTOCOL == UDP_PROTOCOL) | 229 | if (PROTOCOL == UDP_PROTOCOL) |
230 | result = my_udp_connect (server_address, server_port, &sd); | 230 | result = my_udp_connect (server_address, server_port, &sd); |
231 | else /* default is TCP */ | 231 | else |
232 | /* default is TCP */ | ||
232 | result = my_tcp_connect (server_address, server_port, &sd); | 233 | result = my_tcp_connect (server_address, server_port, &sd); |
233 | } | 234 | } |
234 | 235 | ||