--- nrpe-2.15/src/check_nrpe.c 2013-09-06 12:27:13.000000000 -0300 +++ nrpe-2.15.new/src/check_nrpe.c 2013-11-11 19:19:46.000000000 -0200 @@ -154,8 +154,8 @@ /* try to connect to the host at the given port number */ if((sd=my_connect(server_name, &hostaddr, server_port, address_family, - bind_address)) < 0 ) { - exit (255); + bind_address)) < 0) { + exit (timeout_return_code); } else { result=STATE_OK;