diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi index e00bc5f..bb79dfe 100644 --- a/html/cgi-bin/tor.cgi +++ b/html/cgi-bin/tor.cgi @@ -908,7 +908,7 @@ sub TorNodeDescription() { $node->{'port'} = $4;
my $country_code = &TorGetInfo($tor, "ip-to-country/$node->{'address'}"); - $node->{'country_code'} = $country_code; + $node->{'country_code'} = uc $country_code;
# Flags } elsif ($_ =~ /^s (.*)$/) {