mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
netexternal.cgi: Fix display of DNS1 and DNS2
This commit is contained in:
committed by
Michael Tremer
parent
62667a709f
commit
f4e869ffb4
@@ -83,8 +83,8 @@ if ( $querry[0] ne~ ""){
|
||||
|
||||
&General::readhash("${General::swroot}/dhcpc/dhcpcd-$netsettings{'RED_DEV'}.info", \%dhcpinfo);
|
||||
|
||||
my $DNS1=`echo $dhcpinfo{'domain_name_servers'} | cut -f 1 -d ,`;
|
||||
my $DNS2=`echo $dhcpinfo{'domain_name_servers'} | cut -f 2 -d ,`;
|
||||
my $DNS1=`echo $dhcpinfo{'domain_name_servers'} | cut -f 1 -d " "`;
|
||||
my $DNS2=`echo $dhcpinfo{'domain_name_servers'} | cut -f 2 -d " "`;
|
||||
|
||||
my $lsetme=0;
|
||||
my $leasetime="";
|
||||
|
||||
Reference in New Issue
Block a user