From: Joshua Colp Date: Thu, 30 Nov 2006 03:29:42 +0000 (+0000) Subject: I am pretty sure that oej only meant to change the variable name in the source, not... X-Git-Tag: 1.6.0-beta1~3^2~3830 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf9a5e1dee07d66a6eaca55df58328d425b8bf28;p=thirdparty%2Fasterisk.git I am pretty sure that oej only meant to change the variable name in the source, not the configuration option name so let's turn it back to srvlookup instead of global_srvlookup. (issue #8442 reported by jtodd) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48123 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 3c0cb2102a..388ed76763 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -16308,7 +16308,7 @@ static int reload_config(enum channelreloadreason reason) autocreatepeer = ast_true(v->value); } else if (!strcasecmp(v->name, "match_auth_username")) { global_match_auth_username = ast_true(v->value); - } else if (!strcasecmp(v->name, "global_srvlookup")) { + } else if (!strcasecmp(v->name, "srvlookup")) { global_srvlookup = ast_true(v->value); } else if (!strcasecmp(v->name, "pedantic")) { pedanticsipchecking = ast_true(v->value);