summaryrefslogtreecommitdiff
path: root/src/Data
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2018-12-01 13:46:39 -0500
committerJoe Crayne <joe@jerkface.net>2018-12-16 14:08:26 -0500
commit04f629c7452d4db3400fc82793317cfec52b4680 (patch)
tree58ec039c2ffb81b34745b45b895b8a9d6d9f9d52 /src/Data
parentda35152c9a0da38f815798c5f6b6b9a0362fd330 (diff)
StreamServer: Support for fall-back bind-addresses.
Diffstat (limited to 'src/Data')
-rw-r--r--src/Data/Tox/Relay.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Tox/Relay.hs b/src/Data/Tox/Relay.hs
index 82fef126..72a05660 100644
--- a/src/Data/Tox/Relay.hs
+++ b/src/Data/Tox/Relay.hs
@@ -48,7 +48,7 @@ data RelayPacket
48 | OnionPacket (OnionRequest N0) 48 | OnionPacket (OnionRequest N0)
49 | OnionPacketResponse (OnionResponse N1) 49 | OnionPacketResponse (OnionResponse N1)
50 -- 0x0A through 0x0F reserved for future use. 50 -- 0x0A through 0x0F reserved for future use.
51 | RelayData ByteString ConId -- Word8 is a connection id. Encoded as number 16 to 255. 51 | RelayData ByteString ConId
52 deriving (Eq,Ord,Show,Data) 52 deriving (Eq,Ord,Show,Data)
53 53
54packetNumber :: RelayPacket -> Word8 54packetNumber :: RelayPacket -> Word8