diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/DPut.hs | 2 | ||||
-rw-r--r-- | src/Network/Tox/DHT/Handlers.hs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/DPut.hs b/src/DPut.hs index 11bcc2d0..482db515 100644 --- a/src/DPut.hs +++ b/src/DPut.hs | |||
@@ -6,7 +6,7 @@ import System.IO (stderr,hPutStrLn) | |||
6 | import Data.Maybe | 6 | import Data.Maybe |
7 | import System.IO.Unsafe (unsafePerformIO) | 7 | import System.IO.Unsafe (unsafePerformIO) |
8 | 8 | ||
9 | data DebugTag = XAnnounce | XDHT | XOnion | XNetCrypto | XPing | XMisc | 9 | data DebugTag = XAnnounce | XDHT | XOnion | XNetCrypto | XPing | XLan | XMisc |
10 | deriving (Eq,Ord,Show,Read) | 10 | deriving (Eq,Ord,Show,Read) |
11 | 11 | ||
12 | {-# NOINLINE verbosityMap #-} | 12 | {-# NOINLINE verbosityMap #-} |
diff --git a/src/Network/Tox/DHT/Handlers.hs b/src/Network/Tox/DHT/Handlers.hs index 57fc1d57..6a80b4a4 100644 --- a/src/Network/Tox/DHT/Handlers.hs +++ b/src/Network/Tox/DHT/Handlers.hs | |||
@@ -414,7 +414,7 @@ getNodes client cbvar nid addr = do | |||
414 | 414 | ||
415 | updateRouting :: Client -> Routing -> OnionRouter -> NodeInfo -> Message -> IO () | 415 | updateRouting :: Client -> Routing -> OnionRouter -> NodeInfo -> Message -> IO () |
416 | updateRouting client routing orouter naddr msg | 416 | updateRouting client routing orouter naddr msg |
417 | | PacketKind 0x21 <- msgType msg = hPutStrLn stderr "(tox)updateRouting: ignoring lan discovery" -- ignore lan discovery | 417 | | PacketKind 0x21 <- msgType msg = dput XLan "(tox)updateRouting: ignoring lan discovery" -- ignore lan discovery |
418 | | otherwise = do | 418 | | otherwise = do |
419 | atomically $ do | 419 | atomically $ do |
420 | m <- HashMap.lookup (nodeId naddr) <$> readTVar (nodesOfInterest routing) | 420 | m <- HashMap.lookup (nodeId naddr) <$> readTVar (nodesOfInterest routing) |