Fix "typo" with authorization
authorMartin Pycko <martinp@digium.com>
Tue, 1 Apr 2003 17:03:18 +0000 (17:03 +0000)
committerMartin Pycko <martinp@digium.com>
Tue, 1 Apr 2003 17:03:18 +0000 (17:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@736 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index ce57538..1ea30e0 100755 (executable)
@@ -4630,7 +4630,7 @@ static int get_auth_methods(char *value)
        if (strstr(value, "md5"))
                methods |= IAX_AUTH_MD5;
        if (strstr(value, "plaintext"))
-               methods |= IAX_AUTH_RSA;
+               methods |= IAX_AUTH_PLAINTEXT;
        return methods;
 }