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 @@ -1355,7 +1355,7 @@ void networkInterfaceInternetConnectionLost(NetIndex_t index)
1355
1355
bool networkIsHighestPriority (NetIndex_t index)
1356
1356
{
1357
1357
NetPriority_t priority;
1358
- bool higherPriority ;
1358
+ bool highestPriority ;
1359
1359
1360
1360
// Validate the index
1361
1361
networkValidateIndex (index);
@@ -1364,10 +1364,10 @@ bool networkIsHighestPriority(NetIndex_t index)
1364
1364
priority = networkPriority;
1365
1365
1366
1366
// Determine if the specified interface has higher priority
1367
- higherPriority = (priority == NETWORK_OFFLINE);
1368
- if (!higherPriority )
1369
- higherPriority = (priority >= networkPriorityTable[index]);
1370
- return higherPriority ;
1367
+ highestPriority = (priority == NETWORK_OFFLINE);
1368
+ if (highestPriority == false )
1369
+ highestPriority = (priority >= networkPriorityTable[index]);
1370
+ return highestPriority ;
1371
1371
}
1372
1372
1373
1373
// ----------------------------------------
You can’t perform that action at this time.
0 commit comments