summaryrefslogtreecommitdiff
path: root/pbx/pbx_dundi.c
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2012-02-27 14:13:58 +0000
committerSean Bright <sean@malleable.com>2012-02-27 14:13:58 +0000
commit51c24c88a1c3a512164cf1b286f3de2f197f17da (patch)
tree066705b4d664a2f8232bf1cf7bb5cac9e43cc45e /pbx/pbx_dundi.c
parenta2286c0889c59f4dab9e647860b37528f9cd6225 (diff)
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
Diffstat (limited to 'pbx/pbx_dundi.c')
-rw-r--r--pbx/pbx_dundi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 1a7f15c78..ab48ad6a3 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -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");