Skip to content

Commit 374e5a5

Browse files
author
Till Brehm
committed
Changed: FS#2877 - "DNS Zone Wizard" IP suggestion lists IP's of DNS-Servers
1 parent 336368d commit 374e5a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

interface/lib/classes/functions.inc.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ public function suggest_ips($type = 'IPv4'){
275275
if(preg_match($regex, $result['ip'])) $ips[] = $result['ip'];
276276
}
277277
}
278-
278+
279+
/*
279280
$results = $app->db->queryAllRecords("SELECT xfer FROM dns_slave WHERE xfer != ''");
280281
if(!empty($results) && is_array($results)){
281282
foreach($results as $result){
@@ -306,6 +307,8 @@ public function suggest_ips($type = 'IPv4'){
306307
}
307308
}
308309
}
310+
*/
311+
309312
$results = $app->db->queryAllRecords("SELECT remote_ips FROM web_database WHERE remote_ips != ''");
310313
if(!empty($results) && is_array($results)){
311314
foreach($results as $result){

0 commit comments

Comments
 (0)