@rfuchs commented on this pull request.


In src/modules/rtpengine/rtpengine.c:

> @@ -1675,6 +1677,20 @@ static int build_rtpp_socks() {
 				LM_WARN("Failed enable set MTU discovery socket option\n");
 #endif
 
+			if((0 <= control_cmd_tos) && (control_cmd_tos < 256)) {
+				unsigned char tos = control_cmd_tos;
+				if (pnode->rn_umode == 6) {
+					setsockopt(rtpp_socks[pnode->idx], IPPROTO_IPV6,
+							IPV6_TCLASS, &tos,
+							sizeof(tos));

Sorry, I guess I should have been more clear. The argument to the IPv6 version IPV6_TCLASS is in fact an int. It's just the IPv4 IP_TOS that takes an unsigned char.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.