diff options
author | Joe Crayne <joe@jerkface.net> | 2018-12-01 13:46:39 -0500 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2018-12-16 14:08:26 -0500 |
commit | 04f629c7452d4db3400fc82793317cfec52b4680 (patch) | |
tree | 58ec039c2ffb81b34745b45b895b8a9d6d9f9d52 /src/Data/Tox/Relay.hs | |
parent | da35152c9a0da38f815798c5f6b6b9a0362fd330 (diff) |
StreamServer: Support for fall-back bind-addresses.
Diffstat (limited to 'src/Data/Tox/Relay.hs')
-rw-r--r-- | src/Data/Tox/Relay.hs | 2 |
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 | ||
54 | packetNumber :: RelayPacket -> Word8 | 54 | packetNumber :: RelayPacket -> Word8 |