From: Russell Bryant Date: Mon, 4 Jun 2007 15:14:52 +0000 (+0000) Subject: Fix a couple of places where "tos" was used instead of "cos". X-Git-Tag: 1.6.0-beta1~3^2~2521 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f2be267574a8f8ee028c4348e7b367ac68a192;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2087d191ce..b22bad08bd 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 6e01432d71..2ce60b8c43 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