mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
tor.cgi: fix location function call again
This line was accidentially messed up while merging two patchsets together, causing tor.cgi to crash with an HTTP error 500 in testing. Signed-off-by: Peter Müller <peter.mueller@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
aa9dd5386c
commit
848911b247
@@ -340,7 +340,7 @@ END
|
||||
@guard_countries = split(/\|/, $settings{'TOR_GUARD_COUNTRY'});
|
||||
}
|
||||
|
||||
my @country_codes = &Location::database_countries($db_handle);
|
||||
my @country_codes = &Location::Functions::get_locations("no_special_locations");
|
||||
foreach my $country_code (@country_codes) {
|
||||
# Convert country code into upper case format.
|
||||
$country_code = uc($country_code);
|
||||
|
||||
Reference in New Issue
Block a user