summaryrefslogtreecommitdiff
path: root/src/Network/Tox
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox')
-rw-r--r--src/Network/Tox/DHT/Handlers.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Network/Tox/DHT/Handlers.hs b/src/Network/Tox/DHT/Handlers.hs
index 58a29c3e..6c29e958 100644
--- a/src/Network/Tox/DHT/Handlers.hs
+++ b/src/Network/Tox/DHT/Handlers.hs
@@ -121,8 +121,11 @@ classify client msg = fromMaybe (IsUnknown "unknown")
121data NodeInfoCallback = NodeInfoCallback 121data NodeInfoCallback = NodeInfoCallback
122 { interestingNodeId :: NodeId 122 { interestingNodeId :: NodeId
123 , listenerId :: Int 123 , listenerId :: Int
124 , observedAddress :: POSIXTime -> NodeInfo -> STM () 124 , observedAddress :: POSIXTime -> NodeInfo -- Address and port for interestingNodeId
125 , rumoredAddress :: POSIXTime -> SockAddr -> NodeInfo -> STM () 125 -> STM ()
126 , rumoredAddress :: POSIXTime -> SockAddr -- source of information
127 -> NodeInfo -- Address and port for interestingNodeId
128 -> STM ()
126 } 129 }
127 130
128data Routing = Routing 131data Routing = Routing