mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 22:36:39 +02:00
remove an antequated comment
This commit is contained in:
parent
3e90bcd523
commit
988c98d4d7
1 changed files with 1 additions and 4 deletions
|
@ -81,9 +81,6 @@ NodeList::~NodeList() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool NodeList::packetVersionAndHashMatch(const QByteArray& packet) {
|
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
|
|
||||||
|
|
||||||
if (packet[1] != versionForPacketType(packetTypeForPacket(packet))
|
if (packet[1] != versionForPacketType(packetTypeForPacket(packet))
|
||||||
&& packetTypeForPacket(packet) != PacketTypeStunResponse) {
|
&& packetTypeForPacket(packet) != PacketTypeStunResponse) {
|
||||||
PacketType mismatchType = packetTypeForPacket(packet);
|
PacketType mismatchType = packetTypeForPacket(packet);
|
||||||
|
|
Loading…
Reference in a new issue