mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
BEP-7 & BEP-24 & IPv6 functions (#934)
BEP-7 & BEP-24 & IPv6 functions Tracker: Realized support for IPv6 (BEP-7). Realized support for returning external IP address (BEP-24). TorrentPier: IPv6-only users should receive less error messages now.
This commit is contained in:
parent
628a066f91
commit
e05ef75abc
8 changed files with 39 additions and 12 deletions
|
@ -155,7 +155,7 @@ if (isset($_GET['pane']) && $_GET['pane'] == 'left') {
|
|||
for ($i = 0, $iMax = count($onlinerow_reg); $i < $iMax; $i++) {
|
||||
$users_count++;
|
||||
$row_class = 'row1';
|
||||
$reg_ip = \TorrentPier\Helpers\IPHelper::long2ip($onlinerow_reg[$i]['session_ip']);
|
||||
$reg_ip = \TorrentPier\Helpers\IPHelper::long2ip_extended($onlinerow_reg[$i]['session_ip']);
|
||||
|
||||
$template->assign_block_vars('reg_user_row', array(
|
||||
'ROW_CLASS' => $row_class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue