summaryrefslogtreecommitdiff
path: root/src/Network/Tox
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2018-06-08 15:09:32 -0400
committerjoe <joe@jerkface.net>2018-06-08 15:09:32 -0400
commited4af3d68efd4ed73a51fa547dd6d5e72c54f4ab (patch)
treec441d2583e2b7be3cad801484bbaa5d860d5fc9b /src/Network/Tox
parent1b7b664d2b3ebbd86511b085e881c7223adcf334 (diff)
tox: Put IPv6 nodes in their own table. (fixed typo).
Diffstat (limited to 'src/Network/Tox')
-rw-r--r--src/Network/Tox/DHT/Handlers.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/Tox/DHT/Handlers.hs b/src/Network/Tox/DHT/Handlers.hs
index dd586430..0dea53ad 100644
--- a/src/Network/Tox/DHT/Handlers.hs
+++ b/src/Network/Tox/DHT/Handlers.hs
@@ -372,7 +372,7 @@ updateRouting client routing orouter naddr msg
372 | otherwise = do 372 | otherwise = do
373 case prefer4or6 naddr Nothing of 373 case prefer4or6 naddr Nothing of
374 Want_IP4 -> updateTable client naddr orouter (committee4 routing) (refresher4 routing) 374 Want_IP4 -> updateTable client naddr orouter (committee4 routing) (refresher4 routing)
375 Want_IP6 -> updateTable client naddr orouter (committee6 routing) (refresher4 routing) 375 Want_IP6 -> updateTable client naddr orouter (committee6 routing) (refresher6 routing)
376 Want_Both -> do hPutStrLn stderr "BUG:unreachable" 376 Want_Both -> do hPutStrLn stderr "BUG:unreachable"
377 error $ "BUG:unreachable at " ++ __FILE__ ++ ":" ++ show __LINE__ 377 error $ "BUG:unreachable at " ++ __FILE__ ++ ":" ++ show __LINE__
378 378