Properly match the entire prefix (name/) before trying to match links.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1297 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2007-05-06 11:55:29 +00:00
parent f1f2706991
commit 4712ba5b9e
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('/');