mesh: Avoid non-ASCII characters in log output

This commit is contained in:
Tom Henderson
2022-03-28 09:29:43 -07:00
parent c3506a4572
commit eb99d8b36a

View File

@@ -189,7 +189,7 @@ IePrep::GetInformationFieldSize () const
void
IePrep::Print (std::ostream& os) const
{
os << "PREP=(Flags=" << m_flags << ", Hopcount=" << m_hopcount << ", TTL=" << m_ttl
os << "PREP=(Flags=" << +m_flags << ", Hopcount=" << +m_hopcount << ", TTL=" << m_ttl
<< ",Destination=" << m_destinationAddress << ", Dest. seqnum=" << m_destSeqNumber
<< ", Lifetime=" << m_lifetime << ", Metric=" << m_metric << ", Originator="
<< m_originatorAddress << ", Orig. seqnum=" << m_originatorSeqNumber << ")";