mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Prefer ast_set_qos() over ast_netsock_set_qos()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -58,7 +58,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#include "asterisk/sched.h"
|
||||
#include "asterisk/io.h"
|
||||
#include "asterisk/utils.h"
|
||||
#include "asterisk/netsock.h"
|
||||
#include "asterisk/netsock2.h"
|
||||
#include "asterisk/crypto.h"
|
||||
#include "asterisk/astdb.h"
|
||||
#include "asterisk/acl.h"
|
||||
@@ -4865,7 +4865,7 @@ static int load_module(void)
|
||||
return AST_MODULE_LOAD_DECLINE;
|
||||
}
|
||||
|
||||
ast_netsock_set_qos(netsocket, tos, 0, "DUNDi");
|
||||
ast_set_qos(netsocket, tos, 0, "DUNDi");
|
||||
|
||||
if (start_network_thread()) {
|
||||
ast_log(LOG_ERROR, "Unable to start network thread\n");
|
||||
|
Reference in New Issue
Block a user