remove an antequated comment

This commit is contained in:
Stephen Birarda 2014-02-10 12:04:52 -08:00
parent 3e90bcd523
commit 988c98d4d7

View file

@ -80,10 +80,7 @@ NodeList::~NodeList() {
clear();
}
bool NodeList::packetVersionAndHashMatch(const QByteArray& packet) {
// currently this just checks if the version in the packet matches our return from versionForPacketType
// may need to be expanded in the future for types and versions that take > than 1 byte
bool NodeList::packetVersionAndHashMatch(const QByteArray& packet) {
if (packet[1] != versionForPacketType(packetTypeForPacket(packet))
&& packetTypeForPacket(packet) != PacketTypeStunResponse) {
PacketType mismatchType = packetTypeForPacket(packet);