From 782c5fc3184df6a7bc05015ba744afeca41a2510 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Mon, 7 May 2001 14:49:58 +0000 Subject: [PATCH] added alarm(0) and close PING to eval block --- src/lib/Spong/Network/plugins/check_ping | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.30.2