unit test edited
diff --git a/examples/interest-header-example.cc b/examples/interest-header-example.cc
index 2b595b1..a93da9a 100644
--- a/examples/interest-header-example.cc
+++ b/examples/interest-header-example.cc
@@ -53,6 +53,9 @@
UniformVariable random(1, std::numeric_limits<uint32_t>::max ());
uint32_t randomNonce = static_cast<uint32_t> (random.GetValue());
interestHeader.SetNonce(randomNonce);
+
+ interestHeader.SetNack(true);
+ interestHeader.SetCongested(true);
NS_LOG_INFO ("Source: \n" << interestHeader);
packet.AddHeader (interestHeader);
diff --git a/model/ccnx-interest-header.cc b/model/ccnx-interest-header.cc
index c77c441..f6295aa 100644
--- a/model/ccnx-interest-header.cc
+++ b/model/ccnx-interest-header.cc
@@ -234,6 +234,8 @@
os << "<Interest>\n <Name>" << GetName () << "</Name>\n";
if (IsNack ())
os << " <NACK />\n";
+ if(IsCongested())
+ os << " <CONGESTED />\n";
if (GetMinSuffixComponents () >= 0)
os << " <MinSuffixComponents>" << GetMinSuffixComponents () << "</MinSuffixComponents>\n";
if (GetMaxSuffixComponents () >= 0)