summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2014-02-27 16:52:24 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2014-02-27 16:52:24 +0400
commit6d2889df06f6fb4c27b8f98850a37d7fae8d44f7 (patch)
tree4e715320a9c547f78686ac655dba14ec018d7382
parent993bac7ce9ea580d964f1844968d1fec5a4d246b (diff)
Use newer iproute package
instance Ord IP have been added to the package: https://github.com/kazu-yamamoto/iproute/pull/9
-rw-r--r--bittorrent.cabal2
-rw-r--r--src/Network/BitTorrent/Exchange/Session.hs2
2 files changed, 1 insertions, 3 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal
index 0bade58f..444fec64 100644
--- a/bittorrent.cabal
+++ b/bittorrent.cabal
@@ -158,7 +158,7 @@ library
158 , http-types >= 0.8 158 , http-types >= 0.8
159 , http-client >= 0.2 159 , http-client >= 0.2
160 , http-conduit >= 2.0 160 , http-conduit >= 2.0
161 , iproute 161 , iproute >= 1.2.12
162 162
163 -- RNG/PRNG 163 -- RNG/PRNG
164 , entropy >= 0.2 164 , entropy >= 0.2
diff --git a/src/Network/BitTorrent/Exchange/Session.hs b/src/Network/BitTorrent/Exchange/Session.hs
index 921571f5..f9e8433f 100644
--- a/src/Network/BitTorrent/Exchange/Session.hs
+++ b/src/Network/BitTorrent/Exchange/Session.hs
@@ -98,8 +98,6 @@ data Session = Session
98 , logger :: !(LogFun) 98 , logger :: !(LogFun)
99 } 99 }
100 100
101instance Ord IP
102
103-- | Logger function. 101-- | Logger function.
104type LogFun = Loc -> LogSource -> LogLevel -> LogStr -> IO () 102type LogFun = Loc -> LogSource -> LogLevel -> LogStr -> IO ()
105 103