When the link is deactivated pass multiple time through the notify handler so it gets a chance to fix the sequence.

git-svn-id: http://yate.null.ro/svn/yate/trunk@3587 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2010-08-30 13:20:59 +00:00
parent d7cceb3366
commit 4b6c29d37b
1 changed files with 1 additions and 1 deletions

View File

@ -844,7 +844,7 @@ void SS7Management::notify(SS7Layer3* network, int sls)
DDebug(this,DebugInfo,"Link %d inhibitions: 0x%02X [%p]",
sls,network->inhibited(sls),this);
bool linkUp = network->operational(sls);
if (linkUp != network->inhibited(sls,SS7Layer2::Inactive))
if (linkUp && !network->inhibited(sls,SS7Layer2::Inactive))
return;
bool linkAvail[256];
bool force = true;