]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
index.cgi: Do not longer display the DNS servers.
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 9 Jan 2020 15:30:10 +0000 (16:30 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 9 Jan 2020 15:30:10 +0000 (16:30 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/index.cgi

index c7bf9f323242092642d4f23434b538fbf1589351..bd6a02ef5ecbbce105348490d20a8e519148adc4 100644 (file)
@@ -200,25 +200,6 @@ END
 END
        }
 
-       my $dns_servers;
-       if ( -e "${General::swroot}/red/dns" ) {
-               open (TMP, "<${General::swroot}/red/dns");
-               $dns_servers = <TMP>;
-               chomp($dns_servers);
-               close TMP;
-       }
-       print <<END;
-               <tr>
-                       <td>
-                               <b><a href="netexternal.cgi">$Lang::tr{'dns servers'}</a>:</b>
-                       </td>
-                       <td style='text-align:center;'>
-                               $dns_servers
-                       </td>
-                       <td></td>
-               </tr>
-END
-
        if (&General::RedIsWireless()) {
                my $iface = $netsettings{"RED_DEV"} || "red0";