Properly match the entire prefix (name/) before trying to match links.
git-svn-id: http://voip.null.ro/svn/yate@1297 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
9a71223e56
commit
26f62f7d3d
|
@ -971,7 +971,7 @@ bool SigDriver::received(Message& msg, int id)
|
||||||
switch (id) {
|
switch (id) {
|
||||||
case Masquerade: {
|
case Masquerade: {
|
||||||
String s = msg.getValue("id");
|
String s = msg.getValue("id");
|
||||||
if (s.startsWith(name()))
|
if (s.startsWith(prefix()))
|
||||||
break;
|
break;
|
||||||
// Check for a link that would handle the message
|
// Check for a link that would handle the message
|
||||||
int found = s.find('/');
|
int found = s.find('/');
|
||||||
|
|
Loading…
Reference in New Issue