]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
I like it when the tree is not broken.
authorJoshua Colp <jcolp@digium.com>
Sat, 5 Jul 2008 21:11:04 +0000 (21:11 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 5 Jul 2008 21:11:04 +0000 (21:11 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128247 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 879512ee8e76f16172be73df60a2ecc292bfd2b0..cb63a40c4ffcfd6e8d71d8f1621c2ac58cf5d7dc 100644 (file)
@@ -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"))