From: Matt Joiner Date: Wed, 27 Jan 2021 06:06:31 +0000 (+1100) Subject: PORT message belongs to BEP 5 X-Git-Tag: v1.22.0~10 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f409daa93f00cd43b13eca8d870bbb07ecd3c21e;p=btrtrc.git PORT message belongs to BEP 5 --- diff --git a/peer_protocol/protocol.go b/peer_protocol/protocol.go index c31a7e75..506e020e 100644 --- a/peer_protocol/protocol.go +++ b/peer_protocol/protocol.go @@ -23,7 +23,9 @@ const ( Request MessageType = 6 Piece MessageType = 7 Cancel MessageType = 8 - Port MessageType = 9 + + // BEP 5 + Port MessageType = 9 // BEP 6 - Fast extension Suggest MessageType = 0x0d // 13