diff --git a/source/FreeRTOS_IGMP.c b/source/FreeRTOS_IGMP.c index f4dab04ba9..80e8e09e61 100644 --- a/source/FreeRTOS_IGMP.c +++ b/source/FreeRTOS_IGMP.c @@ -116,7 +116,7 @@ if( ( pxSocket->ucProtocol != ( uint8_t ) FREERTOS_IPPROTO_UDP ) || ( uxOptionLength != sizeof( uint8_t ) ) ) { - break; /* will return -pdFREERTOS_ERRNO_EINVAL */ + break; /* will return -pdFREERTOS_ERRNO_EINVAL */ } /* Override the default TTL value with this one. */ @@ -129,14 +129,14 @@ { if( ( pxSocket->ucProtocol != ( uint8_t ) FREERTOS_IPPROTO_UDP ) || ( uxOptionLength != sizeof( struct freertos_ip_mreq ) ) ) { - break; /* will return -pdFREERTOS_ERRNO_EINVAL */ + break; /* will return -pdFREERTOS_ERRNO_EINVAL */ } struct freertos_ip_mreq * pMReq = ( struct freertos_ip_mreq * ) pvOptionValue; if( pdFALSE == xIsIPv4Multicast( pMReq->imr_multiaddr.sin_address.ulIP_IPv4 ) ) { - break; /* will return -pdFREERTOS_ERRNO_EINVAL */ + break; /* will return -pdFREERTOS_ERRNO_EINVAL */ } /* Allocate some RAM to remember the multicast group that is being registered */ @@ -198,14 +198,14 @@ { if( ( pxSocket->ucProtocol != ( uint8_t ) FREERTOS_IPPROTO_UDP ) || ( uxOptionLength != sizeof( struct freertos_ip_mreq ) ) ) { - break; /* will return -pdFREERTOS_ERRNO_EINVAL */ + break; /* will return -pdFREERTOS_ERRNO_EINVAL */ } struct freertos_ip_mreq * pMReq = ( struct freertos_ip_mreq * ) pvOptionValue; if( pdFALSE == xIsIPv4Multicast( pMReq->imr_multiaddr.sin_address.ulIP_IPv4 ) ) { - break; /* will return -pdFREERTOS_ERRNO_EINVAL */ + break; /* will return -pdFREERTOS_ERRNO_EINVAL */ } /* Allocate some RAM to remember the multicast group that is being registered */