Improved packet loss debug message to include remote FSN and local BSN.

git-svn-id: http://voip.null.ro/svn/yate@2306 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-11-06 16:25:50 +00:00
parent 3c7204c3ed
commit bbfd246675
1 changed files with 2 additions and 2 deletions

View File

@ -489,8 +489,8 @@ bool SS7MTP2::receivedPacket(const DataBlock& packet)
if (next)
break;
}
Debug(this,DebugMild,"Detected loss of %u packets [%p]",
(fsn - m_bsn) & 0x7f,this);
Debug(this,DebugMild,"We lost %u packets, remote fsn=%u local bsn=%u [%p]",
(fsn - m_bsn) & 0x7f,fsn,m_bsn,this);
m_bib = !m_bib;
DDebug(this,DebugInfo,"New local bsn=%u/%d fsn=%u/%d [%p]",
m_bsn,m_bib,m_fsn,m_fib,this);