]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Feb 2014 14:31:25 +0000 (15:31 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Feb 2014 14:31:25 +0000 (15:31 +0100)
html/cgi-bin/netexternal.cgi

index cd29d5da02cc85918a012b6d7a41f56504760f69..156ef2418c604f429f66390e9ef136aa267e1eaa 100644 (file)
@@ -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="";