mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-22 14:34:09 -07:00
I like it when the tree is not broken.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+1
-1
@@ -20644,7 +20644,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, str
|
||||
}
|
||||
} else if (!strcasecmp(v->name, "type")) {
|
||||
if (!strcasecmp(v->value, "peer"))
|
||||
peer->onlymatchonip = true; /* For realtime support, add type=peer in the table */
|
||||
peer->onlymatchonip = TRUE; /* For realtime support, add type=peer in the table */
|
||||
} else if (!strcasecmp(v->name, "secret"))
|
||||
ast_copy_string(peer->secret, v->value, sizeof(peer->secret));
|
||||
else if (!strcasecmp(v->name, "md5secret"))
|
||||
|
||||
Reference in New Issue
Block a user