We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbb668a commit df25226Copy full SHA for df25226
source/FreeRTOS_Routing.c
@@ -1429,18 +1429,22 @@ struct xIPv6_Couple
1429
1430
if( xIPCouples[ xIndex ].eType == eIPv6_Loopback )
1431
{
1432
+ /* Checking for the loopback address requires an explicit full-length test */
1433
if( xIsIPv6Loopback( pxAddress ) != pdFALSE )
1434
1435
eResult = eIPv6_Loopback;
1436
break;
1437
}
1438
-
1439
- if( ( usAddress & xIPCouples[ xIndex ].usMask ) == xIPCouples[ xIndex ].usExpected )
+ else if( ( usAddress & xIPCouples[ xIndex ].usMask ) == xIPCouples[ xIndex ].usExpected )
1440
1441
eResult = xIPCouples[ xIndex ].eType;
1442
1443
1444
+ else
1445
+ {
1446
+ /* Keep on checking... */
1447
+ }
1448
1449
1450
0 commit comments