From 8e23b35195bd004c64bb83b45d4358488a2dc67e Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 4 Jan 2015 22:11:44 +0100 Subject: [PATCH] wlanap.cgi: add country code 00; regdump not display this anymore. --- html/cgi-bin/wlanap.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index 2f0cb55d62..c78a3c4ff6 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -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; -- 2.39.5