mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix a couple of places where "tos" was used instead of "cos".
(issue #9540, patch by IgorG) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -17771,7 +17771,7 @@ static int reload_config(enum channelreloadreason reason)
|
||||
ast_verbose(VERBOSE_PREFIX_2 "SIP Listening on %s:%d\n",
|
||||
ast_inet_ntoa(bindaddr.sin_addr), ntohs(bindaddr.sin_port));
|
||||
|
||||
ast_netsock_set_qos(sipsock, global_tos_sip, global_tos_sip);
|
||||
ast_netsock_set_qos(sipsock, global_tos_sip, global_cos_sip);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -185,7 +185,7 @@ int ast_netsock_set_qos(int netsocket, int tos, int cos)
|
||||
ast_log(LOG_WARNING, "Unable to set CoS to %d\n", cos);
|
||||
else {
|
||||
if (option_verbose > 1)
|
||||
ast_verbose(VERBOSE_PREFIX_2 "Using CoS mark %d\n", tos);
|
||||
ast_verbose(VERBOSE_PREFIX_2 "Using CoS mark %d\n", cos);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user