diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-15 13:15:09 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-15 13:15:09 -0700 |
| commit | 98bcc3d4b575d4e11a82408b3ddb74489f81fb30 (patch) | |
| tree | f4aa7b1bbb389164dbbec58d3fa8344f85da8fe6 /node/Switch.cpp | |
| parent | 1c9ca73065975b137deb6770b4624886942c2605 (diff) | |
| download | infinitytier-98bcc3d4b575d4e11a82408b3ddb74489f81fb30.tar.gz infinitytier-98bcc3d4b575d4e11a82408b3ddb74489f81fb30.zip | |
Disable a few noisy TRACEs, and limit how often we confirm new paths to avoid flooding.
Diffstat (limited to 'node/Switch.cpp')
| -rw-r--r-- | node/Switch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index 6bc044c0..8c27fdfa 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -153,7 +153,7 @@ void Switch::onLocalEthernet(const SharedPtr<Network> &network,const MAC &from,c return; } - TRACE("%.16llx: MULTICAST %s -> %s %s %u",network->id(),from.toString().c_str(),mg.toString().c_str(),etherTypeName(etherType),len); + //TRACE("%.16llx: MULTICAST %s -> %s %s %u",network->id(),from.toString().c_str(),mg.toString().c_str(),etherTypeName(etherType),len); RR->mc->send( ((!nconf->isPublic())&&(nconf->com())) ? &(nconf->com()) : (const CertificateOfMembership *)0, @@ -204,7 +204,7 @@ void Switch::onLocalEthernet(const SharedPtr<Network> &network,const MAC &from,c send(outp,true); } - TRACE("%.16llx: UNICAST: %s -> %s etherType==%s(%.4x) vlanId==%u len==%u fromBridged==%d",network->id(),from.toString().c_str(),to.toString().c_str(),etherTypeName(etherType),etherType,vlanId,len,(int)fromBridged); + //TRACE("%.16llx: UNICAST: %s -> %s etherType==%s(%.4x) vlanId==%u len==%u fromBridged==%d",network->id(),from.toString().c_str(),to.toString().c_str(),etherTypeName(etherType),etherType,vlanId,len,(int)fromBridged); } else { TRACE("%.16llx: UNICAST: %s -> %s etherType==%s dropped, destination not a member of private network",network->id(),from.toString().c_str(),to.toString().c_str(),etherTypeName(etherType)); } |
