]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
wlanap.cgi: add country code 00;
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 4 Jan 2015 21:11:44 +0000 (22:11 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 4 Jan 2015 21:11:44 +0000 (22:11 +0100)
regdump not display this anymore.

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;