]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
revert the changes in issue #13705 - it's being re-opened as while the results fixed...
authorBJ Weschke <bweschke@btwtech.com>
Wed, 22 Oct 2008 20:45:03 +0000 (20:45 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Wed, 22 Oct 2008 20:45:03 +0000 (20:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151642 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 0d70e635e812465f29f515751526a76a88373557..4e3c14db26437219c988e13b00575e322ad7fa86 100644 (file)
@@ -22745,7 +22745,7 @@ static int reload_config(enum channelreloadreason reason)
                        if (!strcasecmp(utype, "user")) {
                                is_peer = 1;
                        } else if (!strcasecmp(utype, "friend")) {
-                               is_peer = 2;
+                               is_peer = 1;
                        } else if (!strcasecmp(utype, "peer"))
                                is_peer = 2;
                        else {