From: Joshua Colp Date: Sat, 5 Jul 2008 21:11:04 +0000 (+0000) Subject: I like it when the tree is not broken. X-Git-Tag: 1.6.2.0-beta1~1772 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eff212635ccc642af2f5a0cde019fb9d23585043;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 879512ee8e..cb63a40c4f 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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"))