From d2f81141547fd4badbba9c55332bd239e23a8090 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 2 Dec 2014 14:55:41 -0600 Subject: [PATCH] dht: Receiving UDP source port 0 isn't an error apparently --- dht/dht.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/dht/dht.go b/dht/dht.go index 5059e0f3..9840961c 100644 --- a/dht/dht.go +++ b/dht/dht.go @@ -456,9 +456,6 @@ func (s *Server) heardFromNode(addr dHTAddr, id string) { } func (s *Server) getNode(addr dHTAddr) (n *Node) { - if util.AddrPort(addr) == 0 { - panic(addr) - } n = s.nodes[addr.String()] if n == nil { n = &Node{ -- 2.48.1