Set IP on the request object

This commit is contained in:
Justin Li
2016-02-17 17:39:21 -05:00
committed by Jimmy Zelinskie
parent 75b4a20e56
commit b1f186b665
5 changed files with 23 additions and 14 deletions

View File

@@ -19,8 +19,9 @@ type AnnounceRequest struct {
Event event.Event
InfoHash InfoHash
PeerID PeerID
IP string
Port uint16
IPv4, IPv6 net.IP
Port uint16
Compact bool
NumWant uint64