From: Stephen L Johnson Date: Mon, 7 May 2001 14:49:58 +0000 (+0000) Subject: added alarm(0) and close PING to eval block X-Git-Tag: spong-2_7_4~1 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=782c5fc3184df6a7bc05015ba744afeca41a2510;p=spong.git added alarm(0) and close PING to eval block --- diff --git a/src/lib/Spong/Network/plugins/check_ping b/src/lib/Spong/Network/plugins/check_ping index ed6b2a5..096728d 100755 --- a/src/lib/Spong/Network/plugins/check_ping +++ b/src/lib/Spong/Network/plugins/check_ping @@ -36,6 +36,8 @@ sub check_ping { if( /octets from/ ) { $pingok = 1; } } + alarm(0); + close PING; }; close PING; alarm(0);