[asterisk-commits] blanchet: branch group/v6 r85134 - /team/group/v6/trunk/main/netsock.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 9 10:49:07 CDT 2007


Author: blanchet
Date: Tue Oct  9 10:49:07 2007
New Revision: 85134

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85134
Log:
fixed #ifdef for platforms not supporting IPV6_TCLASS (macosx, windows).

Modified:
    team/group/v6/trunk/main/netsock.c

Modified: team/group/v6/trunk/main/netsock.c
URL: http://svn.digium.com/view/asterisk/team/group/v6/trunk/main/netsock.c?view=diff&rev=85134&r1=85133&r2=85134
==============================================================================
--- team/group/v6/trunk/main/netsock.c (original)
+++ team/group/v6/trunk/main/netsock.c Tue Oct  9 10:49:07 2007
@@ -383,7 +383,7 @@
 			ast_log(LOG_WARNING, "Unable to set TOS to %d\n", tos);
 		break;
 	case AF_INET6:
-#if HAVE_IPV6_TCLASS
+#ifdef HAVE_IPV6_TCLASS
 	        if ((result = setsockopt(sockfd, IPPROTO_IPV6, IPV6_TCLASS, &tos, sizeof(tos)))) 
 		        ast_log(LOG_WARNING, "Unable to set TCLASS to %d\n", tos);
 #endif




More information about the asterisk-commits mailing list