Never advertise a point code from same linkset local address, it must be always allowed by TRA to adjacent node.
Such condition can happen in a nonstandard STP with multiple local point codes. git-svn-id: http://voip.null.ro/svn/yate@4071 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
050b239e64
commit
3c8fcc97dd
|
@ -1029,6 +1029,9 @@ void SS7Router::routeChanged(const SS7Route* route, SS7PointCode::Type type,
|
|||
local = getLocal(type);
|
||||
if (!local)
|
||||
break;
|
||||
// never advertise a local point code from itself
|
||||
if (r->packed() == local)
|
||||
break;
|
||||
const char* cmd = SS7Route::stateName(state);
|
||||
v = (*l3p)->getRoutes(type);
|
||||
if (v)
|
||||
|
|
Loading…
Reference in New Issue