[svn-commits] russell: trunk r67016 - in /trunk: channels/chan_sip.c main/netsock.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Jun 4 08:14:53 MST 2007


Author: russell
Date: Mon Jun  4 10:14:52 2007
New Revision: 67016

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67016
Log:
Fix a couple of places where "tos" was used instead of "cos".
(issue #9540, patch by IgorG)

Modified:
    trunk/channels/chan_sip.c
    trunk/main/netsock.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=67016&r1=67015&r2=67016
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jun  4 10:14:52 2007
@@ -17771,7 +17771,7 @@
 					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);
 			}
 		}
 	}

Modified: trunk/main/netsock.c
URL: http://svn.digium.com/view/asterisk/trunk/main/netsock.c?view=diff&rev=67016&r1=67015&r2=67016
==============================================================================
--- trunk/main/netsock.c (original)
+++ trunk/main/netsock.c Mon Jun  4 10:14:52 2007
@@ -185,7 +185,7 @@
 	    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
 							



More information about the svn-commits mailing list