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);
|
Debug(this,DebugNote,"Isolation ended before shutting down [%p]",this);
|
||||||
m_isolate.stop();
|
m_isolate.stop();
|
||||||
}
|
}
|
||||||
if (m_started)
|
if (m_started) {
|
||||||
sendRestart(network);
|
const SS7MTP3* mtp3 = YOBJECT(SS7MTP3,network);
|
||||||
|
if (!mtp3 || (mtp3->linksActive() <= 1))
|
||||||
|
sendRestart(network);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
if (!m_restart.started())
|
if (!m_restart.started())
|
||||||
restart();
|
restart();
|
||||||
|
|
Loading…
Reference in New Issue