ping packets are verified packets

This commit is contained in:
Stephen Birarda 2015-07-15 13:49:34 -07:00
parent 8b5a577a5d
commit 7dfbb74d67
2 changed files with 2 additions and 3 deletions

View file

@ -159,6 +159,7 @@ void NodeList::timePingReply(QSharedPointer<NLPacket> packet, const SharedNodePo
}
void NodeList::processPingPacket(QSharedPointer<NLPacket> packet, SharedNodePointer sendingNode) {
// send back a reply
auto replyPacket = constructPingReplyPacket(*packet);
const HifiSockAddr& senderSockAddr = packet->getSenderSockAddr();

View file

@ -20,9 +20,7 @@ using namespace PacketType;
const QSet<PacketType::Value> NON_VERIFIED_PACKETS = QSet<PacketType::Value>()
<< NodeJsonStats << EntityQuery
<< OctreeDataNack << EntityEditNack
<< DomainListRequest
<< Ping
<< PingReply << StopNode;
<< DomainListRequest << StopNode;
const QSet<PacketType::Value> SEQUENCE_NUMBERED_PACKETS = QSet<PacketType::Value>() << AvatarData;