diff -Naur nagios-plugins-1.4.0alpha1.orig/plugins/netutils.c nagios-plugins-1.4.0alpha1/plugins/netutils.c --- nagios-plugins-1.4.0alpha1.orig/plugins/netutils.c 2003-08-09 23:31:02.000000000 -0700 +++ nagios-plugins-1.4.0alpha1/plugins/netutils.c 2004-05-28 15:45:24.000000000 -0700 @@ -97,7 +97,7 @@ fd_set readfds; int recv_length = 0; - result = my_connect (server_address, server_port, &sd, IPPROTO_TCP); + result = _my_connect (server_address, server_port, &sd, IPPROTO_TCP); if (result != STATE_OK) return STATE_CRITICAL; @@ -175,7 +175,7 @@ result = STATE_OK; - result = my_connect (server_address, server_port, &sd, proto); + result = _my_connect (server_address, server_port, &sd, proto); if (result != STATE_OK) return STATE_CRITICAL; @@ -227,7 +227,7 @@ { int result; - result = my_connect (host_name, port, sd, IPPROTO_TCP); + result = _my_connect (host_name, port, sd, IPPROTO_TCP); return result; } @@ -239,7 +239,7 @@ { int result; - result = my_connect (host_name, port, sd, IPPROTO_UDP); + result = _my_connect (host_name, port, sd, IPPROTO_UDP); return result; } @@ -247,7 +247,7 @@ /* opens a tcp or udp connection to a remote host */ int -my_connect (const char *host_name, int port, int *sd, int proto) +_my_connect (const char *host_name, int port, int *sd, int proto) { struct addrinfo hints; struct addrinfo *res; diff -Naur nagios-plugins-1.4.0alpha1.orig/plugins/netutils.h nagios-plugins-1.4.0alpha1/plugins/netutils.h --- nagios-plugins-1.4.0alpha1.orig/plugins/netutils.h 2003-08-08 16:05:17.000000000 -0700 +++ nagios-plugins-1.4.0alpha1/plugins/netutils.h 2004-05-28 15:45:28.000000000 -0700 @@ -47,7 +47,7 @@ int my_tcp_connect (const char *address, int port, int *sd); int my_udp_connect (const char *address, int port, int *sd); -int my_connect (const char *address, int port, int *sd, int proto); +int _my_connect (const char *address, int port, int *sd, int proto); int is_host (const char *); int is_addr (const char *);