mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -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
|
@ -213,7 +213,7 @@ if (isset($_POST['submit'])) {
|
|||
$ban_id = $banlist[$i]['ban_id'];
|
||||
|
||||
if (!empty($banlist[$i]['ban_ip'])) {
|
||||
$ban_ip = str_replace('255', '*', \TorrentPier\Helpers\IPHelper::long2ip($banlist[$i]['ban_ip']));
|
||||
$ban_ip = str_replace('255', '*', \TorrentPier\Helpers\IPHelper::long2ip_extended($banlist[$i]['ban_ip']));
|
||||
$select_iplist .= '<option value="' . $ban_id . '">' . $ban_ip . '</option>';
|
||||
$ipban_count++;
|
||||
} elseif (!empty($banlist[$i]['ban_email'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue