Dump MSU content to output when asked to send one.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1774 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2008-03-13 08:26:08 +00:00
parent 2ef78aa20e
commit deddf944cc
1 changed files with 6 additions and 2 deletions

View File

@ -380,8 +380,12 @@ bool SS7MTP2::transmitMSU(const SS7MSU& msu)
DDebug(this,DebugInfo,"Asked to send MSU while not operational [%p]",this);
return false;
}
XDebug(this,DebugAll,"SS7MTP2::transmitMSU(%p) len=%u [%p]",
&msu,msu.length(),this);
#ifdef XDEBUG
String tmp;
tmp.hexify((void*)msu.data(),msu.length(),' ');
XDebug(this,DebugAll,"SS7MTP2::transmitMSU(%p) len=%u: %s [%p]",
&msu,msu.length(),tmp.c_str(),this);
#endif
// if we don't have an attached interface don't bother
if (!iface())
return false;