move the symmetric ping packet

This commit is contained in:
Stephen Birarda 2015-07-08 10:47:54 -07:00
parent 122fd61451
commit 78bc0979cc

View file

@ -618,7 +618,7 @@ void NodeList::pingPunchForInactiveNode(const SharedNodePointer& node) {
if (!node->getSymmetricSocket().isNull()) {
auto symmetricPingPacket = constructPingPacket(PingType::Symmetric);
sendPacket(symmetricPingPacket, node, node->getSymmetricSocket());
sendPacket(std::move(symmetricPingPacket), node, node->getSymmetricSocket());
}
node->incrementConnectionAttempts();