From dfcd553fdcf9556596506ffda66d716f6db5dc6b Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 01 Apr 2011 04:13:42 -0400
Subject: [PATCH] Fixed bug in BIND monitor.

---
 server/lib/classes/monitor_tools.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php
index 6539a1a..a9bdaed 100644
--- a/server/lib/classes/monitor_tools.inc.php
+++ b/server/lib/classes/monitor_tools.inc.php
@@ -597,7 +597,7 @@
 		/* 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;

--
Gitblit v1.9.1