- In the Connection Statistics page under Real Address it was showing the IP:Port instead
of just the IP.
- The IP was being split out in $address but this variable was not then used to display
the Real Address.
- This patch fixes that so that only the IP is shown for the Real Address.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
$users[$uid]{'Since'} = $match[5];
my $address = (split ':', $users[$uid]{'RealAddress'})[0];
+ $users[$uid]{'RealAddress'} = $address;
$users[$uid]{'Country'} = &Location::Functions::lookup_country_code($address);
$uid++;