Correcting bug with NACK processing
diff --git a/model/ccnx-face.cc b/model/ccnx-face.cc
index 3c092e9..92bdfee 100644
--- a/model/ccnx-face.cc
+++ b/model/ccnx-face.cc
@@ -82,10 +82,10 @@
if (m_bucketMax > 0)
{
- //NS_LOG_ERROR ("Limits enabled: " << m_bucketMax << ", current: " << m_bucket);
+ //NS_LOG_DEBUG ("Limits enabled: " << m_bucketMax << ", current: " << m_bucket);
if (m_bucket+1.0 > m_bucketMax)
{
- //NS_LOG_ERROR ("Returning false");
+ //NS_LOG_DEBUG ("Returning false");
return false;
}
@@ -101,7 +101,7 @@
const double leak = m_bucketLeak * interval.ToDouble (Time::S);
m_bucket = std::max (0.0, m_bucket - leak);
- NS_LOG_ERROR ("max: " << m_bucketMax << ", Current bucket: " << m_bucket << ", leak size: " << leak << ", interval: " << interval << ", " << m_bucketLeak);
+ // NS_LOG_DEBUG ("max: " << m_bucketMax << ", Current bucket: " << m_bucket << ", leak size: " << leak << ", interval: " << interval << ", " << m_bucketLeak);
}
void