From ab22feba9a6e6c7e2eb3bc8ba3ecc48f19f878a0 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sun, 5 Oct 2014 10:34:25 -0700 Subject: Bump version to 1.0.0, add legacy support code to Multicaster to not send new frame to known-to-be-old peers. --- node/IncomingPacket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node/IncomingPacket.cpp') diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp index 72ced7fa..521ca731 100644 --- a/node/IncomingPacket.cpp +++ b/node/IncomingPacket.cpp @@ -925,7 +925,7 @@ bool IncomingPacket::_doMULTICAST_GATHER(const RuntimeEnvironment *RR,const Shar outp.append(nwid); mg.mac().appendTo(outp); outp.append((uint32_t)mg.adi()); - if (RR->mc->gather(RR,peer->address(),nwid,mg,outp,gatherLimit)) { + if (RR->mc->gather(peer->address(),nwid,mg,outp,gatherLimit)) { outp.armor(peer->key(),true); _fromSock->send(_remoteAddress,outp.data(),outp.size()); } @@ -1003,7 +1003,7 @@ bool IncomingPacket::_doMULTICAST_FRAME(const RuntimeEnvironment *RR,const Share to.mac().appendTo(outp); outp.append((uint32_t)to.adi()); outp.append((unsigned char)0x01); // flag 0x01 = contains gather results - if (RR->mc->gather(RR,peer->address(),nwid,to,outp,gatherLimit)) { + if (RR->mc->gather(peer->address(),nwid,to,outp,gatherLimit)) { outp.armor(peer->key(),true); _fromSock->send(_remoteAddress,outp.data(),outp.size()); } -- cgit v1.2.3