File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 116116
117117 if ( ( pxSocket -> ucProtocol != ( uint8_t ) FREERTOS_IPPROTO_UDP ) || ( uxOptionLength != sizeof ( uint8_t ) ) )
118118 {
119- break ; /* will return -pdFREERTOS_ERRNO_EINVAL */
119+ break ; /* will return -pdFREERTOS_ERRNO_EINVAL */
120120 }
121121
122122 /* Override the default TTL value with this one. */
129129 {
130130 if ( ( pxSocket -> ucProtocol != ( uint8_t ) FREERTOS_IPPROTO_UDP ) || ( uxOptionLength != sizeof ( struct freertos_ip_mreq ) ) )
131131 {
132- break ; /* will return -pdFREERTOS_ERRNO_EINVAL */
132+ break ; /* will return -pdFREERTOS_ERRNO_EINVAL */
133133 }
134134
135135 struct freertos_ip_mreq * pMReq = ( struct freertos_ip_mreq * ) pvOptionValue ;
136136
137137 if ( pdFALSE == xIsIPv4Multicast ( pMReq -> imr_multiaddr .sin_address .ulIP_IPv4 ) )
138138 {
139- break ; /* will return -pdFREERTOS_ERRNO_EINVAL */
139+ break ; /* will return -pdFREERTOS_ERRNO_EINVAL */
140140 }
141141
142142 /* Allocate some RAM to remember the multicast group that is being registered */
198198 {
199199 if ( ( pxSocket -> ucProtocol != ( uint8_t ) FREERTOS_IPPROTO_UDP ) || ( uxOptionLength != sizeof ( struct freertos_ip_mreq ) ) )
200200 {
201- break ; /* will return -pdFREERTOS_ERRNO_EINVAL */
201+ break ; /* will return -pdFREERTOS_ERRNO_EINVAL */
202202 }
203203
204204 struct freertos_ip_mreq * pMReq = ( struct freertos_ip_mreq * ) pvOptionValue ;
205205
206206 if ( pdFALSE == xIsIPv4Multicast ( pMReq -> imr_multiaddr .sin_address .ulIP_IPv4 ) )
207207 {
208- break ; /* will return -pdFREERTOS_ERRNO_EINVAL */
208+ break ; /* will return -pdFREERTOS_ERRNO_EINVAL */
209209 }
210210
211211 /* Allocate some RAM to remember the multicast group that is being registered */
You can’t perform that action at this time.
0 commit comments