From: David Vossel Date: Thu, 12 Feb 2009 17:07:17 +0000 (+0000) Subject: Setting key rotation to be off by default X-Git-Tag: 1.6.2.0-beta1~248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53f3ab973ea1eab6b1ac27d233a5e045df887582;p=thirdparty%2Fasterisk.git Setting key rotation to be off by default Key rotation breaks compatibility between (trunk/1.6.1) and (1.2/1.4/1.6.0). As a follow up to this, I am investigating possible ways to allow key rotation to be on by default and not affect the other branches, but for now it must be turned off. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@175127 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 3e28f86228..33545cf4c2 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -11238,7 +11238,7 @@ static int set_config(char *config_file, int reload) /* Reset Global Flags */ memset(&globalflags, 0, sizeof(globalflags)); ast_set_flag(&globalflags, IAX_RTUPDATE); - + ast_set_flag(&globalflags, IAX_NOKEYROTATE); /* turn off key rotate by default since it breaks backwards compatibility at the moment. */ #ifdef SO_NO_CHECK nochecksums = 0; #endif