mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16508] Fix WhoIs lookup
PHPBB3-16508
This commit is contained in:
parent
f8acf53f72
commit
af6eebaa1a
1 changed files with 1 additions and 0 deletions
|
@ -1473,6 +1473,7 @@ function user_ipwhois($ip)
|
|||
if (($fsk = @fsockopen($whois_host, 43)))
|
||||
{
|
||||
// CRLF as per RFC3912
|
||||
// Z to limit the query to all possible flags (whois.arin.net)
|
||||
fputs($fsk, "z $ip\r\n");
|
||||
while (!feof($fsk))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue