mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 20:38:59 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user