Skip to content

Commit 93147e3

Browse files
committed
Move the comment to the right place
1 parent 7ba244b commit 93147e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/FreeRTOS_DHCPv6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,6 @@ static BaseType_t prvDHCPv6Analyse( struct xNetworkEndPoint * pxEndPoint,
14921492
xSet.uxOptionLength = ( size_t ) usBitConfig_read_16( &xMessage );
14931493
xSet.uxStart = xMessage.uxIndex;
14941494

1495-
/* ulOptionsReceived has only 32-bits, it's not allowed to shift more than 32-bits on it. */
14961495
if( xMessage.xHasError != pdFALSE )
14971496
{
14981497
FreeRTOS_printf( ( "prvDHCPv6Analyse: bad input\n" ) );
@@ -1501,6 +1500,7 @@ static BaseType_t prvDHCPv6Analyse( struct xNetworkEndPoint * pxEndPoint,
15011500
}
15021501
else
15031502
{
1503+
/* ulOptionsReceived has only 32-bits, it's not allowed to shift more than 32-bits on it. */
15041504
if( usOption < 32 )
15051505
{
15061506
/* Store the option by bit-map only if it's less than 32. */

0 commit comments

Comments
 (0)