code: func (n *Node) addrEqual(a *net.UDPAddr) bool {
  	ip := a.IP
  	if ipv4 := a.IP.To4(); ipv4 != nil {
  		ip = ipv4
  	}
  	return n.UDP == uint16(a.Port) && n.IP.Equal(ip)
  }
docs: // compares the given address against the stored values.