Fix "typo" with authorization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
6b466cfcf4
commit
6b4c9fca59
|
@ -4630,7 +4630,7 @@ static int get_auth_methods(char *value)
|
||||||
if (strstr(value, "md5"))
|
if (strstr(value, "md5"))
|
||||||
methods |= IAX_AUTH_MD5;
|
methods |= IAX_AUTH_MD5;
|
||||||
if (strstr(value, "plaintext"))
|
if (strstr(value, "plaintext"))
|
||||||
methods |= IAX_AUTH_RSA;
|
methods |= IAX_AUTH_PLAINTEXT;
|
||||||
return methods;
|
return methods;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue