Commit dfcd553f authored by tbrehm's avatar tbrehm

Fixed bug in BIND monitor.

parent 3ed4501d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment