From 2a4ff615b9235cd89a37e05f9cd0f3ab748e8cf0 Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Wed, 11 Aug 2021 22:01:58 -0700 Subject: [PATCH] Fix typo in GetRemoteAddr documentation --- tool/net/help.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/net/help.txt b/tool/net/help.txt index 7b532c6cd..1e087b29f 100644 --- a/tool/net/help.txt +++ b/tool/net/help.txt @@ -584,7 +584,7 @@ FUNCTIONS Returns client ip4 address and port, e.g. 0x01020304,31337 would represent 1.2.3.4:31337. This is the same as GetClientAddr except it will use the ip:port from the X-Forwarded-For header, only if - it IsPrivateIp or IsPrivateIp. + IsPrivateIp or IsLoopbackIp return true. GetClientAddr() → ip:uint32,port:uint16 Returns client socket ip4 address and port, e.g. 0x01020304,31337