mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
index.cgi: Do not longer display the DNS servers.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user