summaryrefslogtreecommitdiff
path: root/node/OutboundMulticast.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-31 16:50:22 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-31 16:50:22 -0700
commit74afef8eb1d96aec291c6dfeca31e69a2ad33d69 (patch)
tree7b976206799fd9260e5f51d4a33fbd694a81e28c /node/OutboundMulticast.cpp
parent54489a7f61a19b07eaa5a87d1df2ee30101f29ee (diff)
downloadinfinitytier-74afef8eb1d96aec291c6dfeca31e69a2ad33d69.tar.gz
infinitytier-74afef8eb1d96aec291c6dfeca31e69a2ad33d69.zip
Think through and refine a few things in rules, especially edge case TEE and REDIRECT behavior and semantics.
Diffstat (limited to 'node/OutboundMulticast.cpp')
-rw-r--r--node/OutboundMulticast.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/node/OutboundMulticast.cpp b/node/OutboundMulticast.cpp
index 6b583e7c..33c28f65 100644
--- a/node/OutboundMulticast.cpp
+++ b/node/OutboundMulticast.cpp
@@ -86,10 +86,11 @@ void OutboundMulticast::init(
void OutboundMulticast::sendOnly(const RuntimeEnvironment *RR,const Address &toAddr)
{
const SharedPtr<Network> nw(RR->node->network(_nwid));
- if ((nw)&&(nw->filterOutgoingPacket(true,RR->identity.address(),toAddr,_macSrc,_macDest,_frameData,_frameLen,_etherType,0))) {
+ Address toAddr2(toAddr);
+ if ((nw)&&(nw->filterOutgoingPacket(true,RR->identity.address(),toAddr2,_macSrc,_macDest,_frameData,_frameLen,_etherType,0))) {
//TRACE(">>MC %.16llx -> %s",(unsigned long long)this,toAddr.toString().c_str());
_packet.newInitializationVector();
- _packet.setDestination(toAddr);
+ _packet.setDestination(toAddr2);
RR->sw->send(_packet,true);
}
}