summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Peer
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Peer')
-rw-r--r--src/Network/BitTorrent/Peer/Addr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Peer/Addr.hs b/src/Network/BitTorrent/Peer/Addr.hs
index 0e6fcfb9..1c2ac2eb 100644
--- a/src/Network/BitTorrent/Peer/Addr.hs
+++ b/src/Network/BitTorrent/Peer/Addr.hs
@@ -28,7 +28,7 @@ data PeerAddr = PeerAddr {
28 peerID :: Maybe PeerID 28 peerID :: Maybe PeerID
29 , peerIP :: HostAddress 29 , peerIP :: HostAddress
30 , peerPort :: PortNumber 30 , peerPort :: PortNumber
31 } deriving Show 31 } deriving (Show, Eq)
32 32
33instance BEncodable PortNumber where 33instance BEncodable PortNumber where
34 toBEncode = toBEncode . fromEnum 34 toBEncode = toBEncode . fromEnum