From dfcd553fdcf9556596506ffda66d716f6db5dc6b Mon Sep 17 00:00:00 2001 From: tbrehm Date: Fri, 1 Apr 2011 08:13:42 +0000 Subject: [PATCH] Fixed bug in BIND monitor. --- server/lib/classes/monitor_tools.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php index 6539a1ae4a..a9bdaed7b4 100644 --- a/server/lib/classes/monitor_tools.inc.php +++ b/server/lib/classes/monitor_tools.inc.php @@ -597,7 +597,7 @@ class monitor_tools { /* Monitor BIND-Server */ $data['bindserver'] = -1; // unknown - not needed if ($services['dns_server'] == 1) { - if ($this->_checkTcp('localhost', 53)) { + if ($this->_checkUdp('localhost', 53)) { $data['bindserver'] = 1; } else { $data['bindserver'] = 0; -- GitLab