diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-06-18 08:25:30 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-06-18 08:25:30 -0700 |
| commit | 5d467f0f4590cfcbdc1b0699fe07e5a0f6e27764 (patch) | |
| tree | 3502ce815d57b95be69b45771f201fc5d3d60dea /node/Switch.cpp | |
| parent | 2162a419e376ae20e208722f7f196f90794e51b4 (diff) | |
| download | infinitytier-5d467f0f4590cfcbdc1b0699fe07e5a0f6e27764.tar.gz infinitytier-5d467f0f4590cfcbdc1b0699fe07e5a0f6e27764.zip | |
Some TRACE improvements and comment revs.
Diffstat (limited to 'node/Switch.cpp')
| -rw-r--r-- | node/Switch.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index 1c2fe8b1..88ad8f5d 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -141,6 +141,8 @@ void Switch::onLocalEthernet(const SharedPtr<Network> &network,const MAC &from,c return; } + TRACE("%s: MULTICAST %s -> %s %s %d",network->tapDeviceName().c_str(),from.toString().c_str(),mg.toString().c_str(),etherTypeName(etherType),(int)data.size()); + const unsigned int mcid = ++_multicastIdCounter & 0xffffff; const uint16_t bloomNonce = (uint16_t)(_r->prng->next32() & 0xffff); // doesn't need to be cryptographically strong unsigned char bloom[ZT_PROTO_VERB_MULTICAST_FRAME_LEN_PROPAGATION_BLOOM]; |
