mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #5993 from 3D-I/ticket/16503
[ticket/16503] Fix WhoIs lookup
This commit is contained in:
commit
7268c5ebfb
1 changed files with 3 additions and 0 deletions
|
@ -1470,6 +1470,9 @@ function user_ipwhois($ip)
|
||||||
|
|
||||||
$ipwhois = '';
|
$ipwhois = '';
|
||||||
|
|
||||||
|
// Limit the query to all possible flags (whois.arin.net)
|
||||||
|
$ip = 'z ' . $ip;
|
||||||
|
|
||||||
if (($fsk = @fsockopen($whois_host, 43)))
|
if (($fsk = @fsockopen($whois_host, 43)))
|
||||||
{
|
{
|
||||||
// CRLF as per RFC3912
|
// CRLF as per RFC3912
|
||||||
|
|
Loading…
Add table
Reference in a new issue