Skip to content

Commit cd4b107

Browse files
authored
Merge branch 'main' into MdnsAABit
2 parents 0cf31da + 0ab46d1 commit cd4b107

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/portable/NetworkInterface/Zynq/x_emacpsif_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

source/portable/NetworkInterface/xilinx_ultrascale/x_emacpsif_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)