diff options
Diffstat (limited to 'dht/src/Network/Tox/TCP.hs')
-rw-r--r-- | dht/src/Network/Tox/TCP.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/src/Network/Tox/TCP.hs b/dht/src/Network/Tox/TCP.hs index 04119164..9f0af976 100644 --- a/dht/src/Network/Tox/TCP.hs +++ b/dht/src/Network/Tox/TCP.hs | |||
@@ -349,7 +349,7 @@ newClient crypto store load lookupSender getRoute = do | |||
349 | OOBRecv k bs -> IsUnsolicited $ handleOOB k bs | 349 | OOBRecv k bs -> IsUnsolicited $ handleOOB k bs |
350 | wut -> IsUnknown (show wut) | 350 | wut -> IsUnknown (show wut) |
351 | , lookupHandler = \case | 351 | , lookupHandler = \case |
352 | PingPacket -> trace ("tcp-received-ping") $ Just MethodHandler | 352 | PingPacket -> Just MethodHandler |
353 | { methodParse = \case (_,RelayPing n8) -> Right () | 353 | { methodParse = \case (_,RelayPing n8) -> Right () |
354 | _ -> trace ("tcp-non-ping") $ Left "TCP: Non-ping?" | 354 | _ -> trace ("tcp-non-ping") $ Left "TCP: Non-ping?" |
355 | , methodSerialize = \n8 src dst () -> {- trace ("tcp-made-pong-"++show n8) -} (False, RelayPong n8) | 355 | , methodSerialize = \n8 src dst () -> {- trace ("tcp-made-pong-"++show n8) -} (False, RelayPong n8) |