diff options
Diffstat (limited to 'src/Network/BitTorrent/DHT.hs')
-rw-r--r-- | src/Network/BitTorrent/DHT.hs | 2 |
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 | |||
87 | fullLogging _ _ = True | 87 | fullLogging _ _ = True |
88 | 88 | ||
89 | -- | Run DHT on specified port. <add note about resources> | 89 | -- | Run DHT on specified port. <add note about resources> |
90 | dht :: Address ip | 90 | dht :: (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 |