diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-31 16:50:22 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-31 16:50:22 -0700 |
commit | 74afef8eb1d96aec291c6dfeca31e69a2ad33d69 (patch) | |
tree | 7b976206799fd9260e5f51d4a33fbd694a81e28c /node/OutboundMulticast.cpp | |
parent | 54489a7f61a19b07eaa5a87d1df2ee30101f29ee (diff) | |
download | infinitytier-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.cpp | 5 |
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); } } |