diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-15 19:44:12 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-15 19:44:12 +0400 |
commit | c1e3c9762eb5fea16188a0fb21ad01dd3240ab88 (patch) | |
tree | f65cffdb5156c1140dead382d4a29da845e70e53 /src/Network/BitTorrent/Core.hs | |
parent | aee6069785bd552100824e36995e55e72bdbb42e (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.hs | 14 |
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 | -- |
10 | module Network.BitTorrent.Core (module Core) where | 10 | module Network.BitTorrent.Core |
11 | ( module Core | ||
12 | |||
13 | -- * Re-exports from Data.IP | ||
14 | , IPv4 | ||
15 | , IPv6 | ||
16 | , IP (..) | ||
17 | ) where | ||
18 | |||
19 | import Data.IP | ||
20 | |||
11 | import Network.BitTorrent.Core.Fingerprint as Core | 21 | import Network.BitTorrent.Core.Fingerprint as Core |
12 | import Network.BitTorrent.Core.PeerId as Core | 22 | import Network.BitTorrent.Core.PeerId as Core |
13 | import Network.BitTorrent.Core.PeerAddr as Core \ No newline at end of file | 23 | import Network.BitTorrent.Core.PeerAddr as Core |