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
1.6.0
Russell Bryant 19 years ago
parent 13a3661906
commit 93f2be2675

@ -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

Loading…
Cancel
Save