Send Traffic Restart Allowed only for the 1st link in service on a linkset.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3506 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
2b96beb505
commit
46350756ed
|
@ -771,8 +771,11 @@ void SS7Router::notify(SS7Layer3* network, int sls)
|
|||
Debug(this,DebugNote,"Isolation ended before shutting down [%p]",this);
|
||||
m_isolate.stop();
|
||||
}
|
||||
if (m_started)
|
||||
if (m_started) {
|
||||
const SS7MTP3* mtp3 = YOBJECT(SS7MTP3,network);
|
||||
if (!mtp3 || (mtp3->linksActive() <= 1))
|
||||
sendRestart(network);
|
||||
}
|
||||
else {
|
||||
if (!m_restart.started())
|
||||
restart();
|
||||
|
|
Loading…
Reference in New Issue