]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/wlanap.cgi
wlanap.cgi: add country code 00;
[ipfire-2.x.git] / html / cgi-bin / wlanap.cgi
index 2f0cb55d62855474a45dae8fe80a7906b13b30bb..c78a3c4ff697b4cf91e82f1bab1a42d64f117443 100644 (file)
@@ -291,7 +291,7 @@ if ( $channel =~ /\d+/ ){push(@temp,$channel);}
 my @countrylist_cmd = `regdbdump /usr/lib/crda/regulatory.bin 2>/dev/null`;
 # get available country codes
 
-my @temp;
+my @temp = "00";
 foreach (@countrylist_cmd){
 $_ =~ /country (.*):/;
 $country = $1;chomp $country;