diff options
author | Joe Crayne <joe@jerkface.net> | 2020-01-04 17:23:46 -0500 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2020-01-04 17:23:46 -0500 |
commit | 6047a311f270bbb0a176900d9b1fea5e6d9b96c1 (patch) | |
tree | f3e52431dad452118a7ebde5c383f4f5abef726c /dht | |
parent | 5181c77ce7dd73d622ff3921b90bf2741bedb646 (diff) |
TCP relay server now binds to UDP node port as fallback.
Diffstat (limited to 'dht')
-rw-r--r-- | dht/src/Network/Tox/Relay.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/src/Network/Tox/Relay.hs b/dht/src/Network/Tox/Relay.hs index 2ecd7ddf..3aa596ab 100644 --- a/dht/src/Network/Tox/Relay.hs +++ b/dht/src/Network/Tox/Relay.hs | |||
@@ -252,7 +252,7 @@ tcpRelay crypto udp_addr sendOnion = do | |||
252 | b33445 <- getBindAddress "33445" True | 252 | b33445 <- getBindAddress "33445" True |
253 | bany <- getBindAddress "" True | 253 | bany <- getBindAddress "" True |
254 | h <- streamServer ServerConfig | 254 | h <- streamServer ServerConfig |
255 | { serverWarn = hPutStrLn stderr | 255 | { serverWarn = dput XOnion |
256 | , serverSession = relaySession crypto clients cons sendOnion | 256 | , serverSession = relaySession crypto clients cons sendOnion |
257 | } | 257 | } |
258 | [b443,b80,b3389,udp_addr,b33445,bany] | 258 | [b443,b80,b3389,udp_addr,b33445,bany] |