summaryrefslogtreecommitdiff
path: root/src/Network/Tox/DHT/Transport.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-09-15 05:22:35 -0400
committerjoe <joe@jerkface.net>2017-09-15 05:22:35 -0400
commitbdecc98839673136ab1d0695ab6497197f80f38e (patch)
tree9867d20b324be84f0712f720ca2724615d63d8e7 /src/Network/Tox/DHT/Transport.hs
parent358654f6afeeef89a9fbec8c7aa3c21c84ed3e53 (diff)
Fixed haddock parse errors.
Diffstat (limited to 'src/Network/Tox/DHT/Transport.hs')
-rw-r--r--src/Network/Tox/DHT/Transport.hs28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/Network/Tox/DHT/Transport.hs b/src/Network/Tox/DHT/Transport.hs
index 5a2d8a84..d7f8e0cd 100644
--- a/src/Network/Tox/DHT/Transport.hs
+++ b/src/Network/Tox/DHT/Transport.hs
@@ -146,21 +146,21 @@ noReplyAddr saddr = either (error . mappend "noReplyAddr: ") id $ nodeInfo zeroI
146 146
147 147
148data DHTRequest 148data DHTRequest
149-- #### NAT ping request 149 -- #### NAT ping request
150-- 150 --
151-- Length Contents 151 -- Length Contents
152-- :------- :------------------------- 152 -- :------- :-------------------------
153-- `1` `uint8_t` (0xfe) 153 -- `1` `uint8_t` (0xfe)
154-- `1` `uint8_t` (0x00) 154 -- `1` `uint8_t` (0x00)
155-- `8` `uint64_t` random number 155 -- `8` `uint64_t` random number
156 = NATPing Nonce8 156 = NATPing Nonce8
157-- #### NAT ping response 157 -- #### NAT ping response
158-- 158 --
159-- Length Contents 159 -- Length Contents
160-- :------- :----------------------------------------------------------------- 160 -- :------- :-----------------------------------------------------------------
161-- `1` `uint8_t` (0xfe) 161 -- `1` `uint8_t` (0xfe)
162-- `1` `uint8_t` (0x01) 162 -- `1` `uint8_t` (0x01)
163-- `8` `uint64_t` random number (the same that was received in request) 163 -- `8` `uint64_t` random number (the same that was received in request)
164 | NATPong Nonce8 164 | NATPong Nonce8
165 | DHTPK LongTermKeyWrap 165 | DHTPK LongTermKeyWrap
166 deriving Show 166 deriving Show