File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
source/portable/NetworkInterface Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ BaseType_t xMayAcceptPacket( uint8_t * pucEthernetBuffer )
439439
440440 /* Ensure that the incoming packet is not fragmented (only outgoing packets
441441 * can be fragmented) as these are the only handled IP frames currently. */
442- if ( ( pxIPHeader -> usFragmentOffset & FreeRTOS_ntohs ( ipFRAGMENT_OFFSET_BIT_MASK ) ) != 0U )
442+ if ( ( pxIPHeader -> usFragmentOffset & ipFRAGMENT_OFFSET_BIT_MASK ) != 0U )
443443 {
444444 return pdFALSE ;
445445 }
Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ BaseType_t xMayAcceptPacket( uint8_t * pucEthernetBuffer )
405405
406406 /* Ensure that the incoming packet is not fragmented (only outgoing packets
407407 * can be fragmented) as these are the only handled IP frames currently. */
408- if ( ( pxIPHeader -> usFragmentOffset & FreeRTOS_ntohs ( ipFRAGMENT_OFFSET_BIT_MASK ) ) != 0U )
408+ if ( ( pxIPHeader -> usFragmentOffset & ipFRAGMENT_OFFSET_BIT_MASK ) != 0U )
409409 {
410410 return pdFALSE ;
411411 }
You can’t perform that action at this time.
0 commit comments