Skip to content
Snippets Groups Projects
Commit 5a6a59c8 authored by BJ Weschke's avatar BJ Weschke
Browse files

Fix configuration parsing so type=friend still identifies "friend" as a peer...

 Fix configuration parsing so type=friend still identifies "friend" as a peer even though it is now a legacy configuration verb.

 (closes issue #13705)
 reported by: blitzrage
 patched by: bweschke



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 9aefadd7
No related branches found
No related tags found
No related merge requests found
...@@ -22723,7 +22723,7 @@ static int reload_config(enum channelreloadreason reason) ...@@ -22723,7 +22723,7 @@ static int reload_config(enum channelreloadreason reason)
if (!strcasecmp(utype, "user")) { if (!strcasecmp(utype, "user")) {
is_peer = 1; is_peer = 1;
} else if (!strcasecmp(utype, "friend")) { } else if (!strcasecmp(utype, "friend")) {
is_peer = 1; is_peer = 2;
} else if (!strcasecmp(utype, "peer")) } else if (!strcasecmp(utype, "peer"))
is_peer = 2; is_peer = 2;
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment