Complain louder if an incorrect SLTM is received on a link.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4242 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
77e5b7e71a
commit
e9770d7b6c
|
@ -289,14 +289,14 @@ bool SS7Layer3::maintenance(const SS7MSU& msu, const SS7Label& label, int sls)
|
|||
badLink = true;
|
||||
}
|
||||
int level = DebugAll;
|
||||
if (badLink) {
|
||||
addr << " on " << sls;
|
||||
level = DebugMild;
|
||||
}
|
||||
if (getNI(type(msu.getNI())) != msu.getNI()) {
|
||||
addr << " wrong " << msu.getIndicatorName() << " NI";
|
||||
level = DebugMild;
|
||||
}
|
||||
if (badLink) {
|
||||
addr << " on " << sls;
|
||||
level = DebugWarn;
|
||||
}
|
||||
unsigned char len = s[1] >> 4;
|
||||
// get a pointer to the test pattern
|
||||
const unsigned char* t = msu.getData(label.length()+3,len);
|
||||
|
|
Loading…
Reference in New Issue