summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/DHT.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/DHT.hs')
-rw-r--r--src/Network/BitTorrent/DHT.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/DHT.hs b/src/Network/BitTorrent/DHT.hs
index 45c87831..aaa1cf33 100644
--- a/src/Network/BitTorrent/DHT.hs
+++ b/src/Network/BitTorrent/DHT.hs
@@ -87,7 +87,7 @@ fullLogging :: LogSource -> LogLevel -> Bool
87fullLogging _ _ = True 87fullLogging _ _ = True
88 88
89-- | Run DHT on specified port. <add note about resources> 89-- | Run DHT on specified port. <add note about resources>
90dht :: Address ip 90dht :: (Ord ip, Address ip)
91 => Options -- ^ normally you need to use 'Data.Default.def'; 91 => Options -- ^ normally you need to use 'Data.Default.def';
92 -> NodeAddr ip -- ^ address to bind this node; 92 -> NodeAddr ip -- ^ address to bind this node;
93 -> (LogSource -> LogLevel -> Bool) -- ^ use 'fullLogging' as a noisy default 93 -> (LogSource -> LogLevel -> Bool) -- ^ use 'fullLogging' as a noisy default