summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Core.hs
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-12-15 19:44:12 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-12-15 19:44:12 +0400
commitc1e3c9762eb5fea16188a0fb21ad01dd3240ab88 (patch)
treef65cffdb5156c1140dead382d4a29da845e70e53 /src/Network/BitTorrent/Core.hs
parentaee6069785bd552100824e36995e55e72bdbb42e (diff)
Fix bugs in PeerAddr encoding.
Also: * PeerAddr.hs internals and export list have been simplified; * tests added.
Diffstat (limited to 'src/Network/BitTorrent/Core.hs')
-rw-r--r--src/Network/BitTorrent/Core.hs14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/Network/BitTorrent/Core.hs b/src/Network/BitTorrent/Core.hs
index 990a5975..7b8ff07d 100644
--- a/src/Network/BitTorrent/Core.hs
+++ b/src/Network/BitTorrent/Core.hs
@@ -7,7 +7,17 @@
7-- 7--
8-- Re-export every @Network.BitTorrent.Core.*@ module. 8-- Re-export every @Network.BitTorrent.Core.*@ module.
9-- 9--
10module Network.BitTorrent.Core (module Core) where 10module Network.BitTorrent.Core
11 ( module Core
12
13 -- * Re-exports from Data.IP
14 , IPv4
15 , IPv6
16 , IP (..)
17 ) where
18
19import Data.IP
20
11import Network.BitTorrent.Core.Fingerprint as Core 21import Network.BitTorrent.Core.Fingerprint as Core
12import Network.BitTorrent.Core.PeerId as Core 22import Network.BitTorrent.Core.PeerId as Core
13import Network.BitTorrent.Core.PeerAddr as Core \ No newline at end of file 23import Network.BitTorrent.Core.PeerAddr as Core