diff options
author | Sean Bright <sean@malleable.com> | 2012-02-27 14:13:58 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2012-02-27 14:13:58 +0000 |
commit | 51c24c88a1c3a512164cf1b286f3de2f197f17da (patch) | |
tree | 066705b4d664a2f8232bf1cf7bb5cac9e43cc45e /main/udptl.c | |
parent | a2286c0889c59f4dab9e647860b37528f9cd6225 (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 'main/udptl.c')
-rw-r--r-- | main/udptl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/udptl.c b/main/udptl.c index 6502cbc54..94c53658d 100644 --- a/main/udptl.c +++ b/main/udptl.c @@ -64,7 +64,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/config.h" #include "asterisk/lock.h" #include "asterisk/utils.h" -#include "asterisk/netsock.h" +#include "asterisk/netsock2.h" #include "asterisk/cli.h" #include "asterisk/unaligned.h" @@ -1007,7 +1007,7 @@ void ast_udptl_set_tag(struct ast_udptl *udptl, const char *format, ...) int ast_udptl_setqos(struct ast_udptl *udptl, unsigned int tos, unsigned int cos) { - return ast_netsock_set_qos(udptl->fd, tos, cos, "UDPTL"); + return ast_set_qos(udptl->fd, tos, cos, "UDPTL"); } void ast_udptl_set_peer(struct ast_udptl *udptl, const struct ast_sockaddr *them) |