From 5d467f0f4590cfcbdc1b0699fe07e5a0f6e27764 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 18 Jun 2014 08:25:30 -0700 Subject: Some TRACE improvements and comment revs. --- node/Switch.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/Switch.cpp') 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,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]; -- cgit v1.2.3