remove some debug messages

This commit is contained in:
Lucas Clemente
2016-04-27 12:52:06 +02:00
parent 607ab843d6
commit 0d6642464d
3 changed files with 0 additions and 6 deletions

View File

@@ -91,8 +91,6 @@ func (s *Server) handlePacket(conn *net.UDPConn, remoteAddr *net.UDPAddr, packet
}
publicHeader.Raw = packet[:len(packet)-r.Len()]
// fmt.Printf("<- Got packet %d (%d bytes) from %v\n", publicHeader.PacketNumber, n, remoteAddr)
// Send Version Negotiation Packet if the client is speaking a different protocol version
if publicHeader.VersionFlag && !protocol.IsSupportedVersion(publicHeader.VersionNumber) {
fmt.Println("Sending VersionNegotiationPacket")