From c1e3c9762eb5fea16188a0fb21ad01dd3240ab88 Mon Sep 17 00:00:00 2001 From: Sam Truzjan Date: Sun, 15 Dec 2013 19:44:12 +0400 Subject: Fix bugs in PeerAddr encoding. Also: * PeerAddr.hs internals and export list have been simplified; * tests added. --- src/Network/BitTorrent/Core.hs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/Network/BitTorrent/Core.hs') 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 @@ -- -- Re-export every @Network.BitTorrent.Core.*@ module. -- -module Network.BitTorrent.Core (module Core) where +module Network.BitTorrent.Core + ( module Core + + -- * Re-exports from Data.IP + , IPv4 + , IPv6 + , IP (..) + ) where + +import Data.IP + import Network.BitTorrent.Core.Fingerprint as Core import Network.BitTorrent.Core.PeerId as Core -import Network.BitTorrent.Core.PeerAddr as Core \ No newline at end of file +import Network.BitTorrent.Core.PeerAddr as Core -- cgit v1.2.3