mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
fix a glaring bug in the new SRV record handling that would cause incorrect weight sorting
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@89105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -190,6 +190,7 @@ static void process_weights(struct srv_context *context)
|
||||
|
||||
AST_LIST_REMOVE_CURRENT(&temp_list, list);
|
||||
AST_LIST_INSERT_TAIL(&newlist, current, list);
|
||||
break;
|
||||
}
|
||||
AST_LIST_TRAVERSE_SAFE_END;
|
||||
}
|
||||
|
Reference in New Issue
Block a user