aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r--plugins/check_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 1bf1f4cb..3087453a 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -284,7 +284,7 @@ main (int argc, char **argv)
result = connect_SSL ();
else
#endif
- result = my_connect (server_address, server_port, &sd, PROTOCOL);
+ result = np_net_connect (server_address, server_port, &sd, PROTOCOL);
if (result == STATE_CRITICAL)
return STATE_CRITICAL;