[tor-commits] [snowflake/master] Actually call clientAddr.
dcf at torproject.org
dcf at torproject.org
Wed Oct 18 05:20:54 UTC 2017
commit 46977461207a5670619def77aac9d364e94c2d53
Author: David Fifield <david at bamsoftware.com>
Date: Tue Oct 17 22:19:23 2017 -0700
Actually call clientAddr.
---
server/server.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/server.go b/server/server.go
index 1b33661..fff5887 100644
--- a/server/server.go
+++ b/server/server.go
@@ -155,7 +155,7 @@ func webSocketHandler(ws *websocket.WebSocket) {
// Pass the address of client as the remote address of incoming connection
clientIPParam := ws.Request().URL.Query().Get("client_ip")
- or, err := pt.DialOr(&ptInfo, clientIPParam, ptMethodName)
+ or, err := pt.DialOr(&ptInfo, clientAddr(clientIPParam), ptMethodName)
if err != nil {
log.Printf("failed to connect to ORPort: %s", err)
More information about the tor-commits
mailing list