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:
paulc 2007-05-06 11:55:29 +00:00
parent 9a71223e56
commit 26f62f7d3d
1 changed files with 1 additions and 1 deletions

View File

@ -971,7 +971,7 @@ bool SigDriver::received(Message& msg, int id)
switch (id) {
case Masquerade: {
String s = msg.getValue("id");
if (s.startsWith(name()))
if (s.startsWith(prefix()))
break;
// Check for a link that would handle the message
int found = s.find('/');