X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=html%2Fcgi-bin%2Fwlanap.cgi;h=5eb34d651a035c268baee59c43a9e711658ea11e;hb=15db822688a673d426fd76509aeb88895f3af88c;hp=eba5fe774e14e04b40461dd03d46b35bf566bbba;hpb=424464c2ad3a2c71f36365b0315e642f9984315d;p=ipfire-2.x.git diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index eba5fe774e..5eb34d651a 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -312,8 +312,11 @@ if ( $channel =~ /\d+/ ){push(@temp,$channel + 0);} push(@channellist, @temp); } -my @countrylist_cmd = `regdbdump /usr/lib/crda/regulatory.bin 2>/dev/null`; # get available country codes +open(FILE, “; +close(FILE); + my @temp = "00"; foreach (@countrylist_cmd){