diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-06-04 15:14:52 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-06-04 15:14:52 +0000 |
commit | 93f2be267574a8f8ee028c4348e7b367ac68a192 (patch) | |
tree | 21ade3428bc2580d6192901979b611fe71856ac3 | |
parent | 13a3661906eec6ba46a988f0954fadb8d89c58e2 (diff) |
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
-rw-r--r-- | channels/chan_sip.c | 2 | ||||
-rw-r--r-- | main/netsock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2087d191c..b22bad08b 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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); } } } diff --git a/main/netsock.c b/main/netsock.c index 6e01432d7..2ce60b8c4 100644 --- a/main/netsock.c +++ b/main/netsock.c @@ -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 |