Skip to content

Commit b7fff59

Browse files
committed
BugFix Missing parenthesis
1 parent cdc9f48 commit b7fff59

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Net/src/NetworkInterface.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,9 @@ NetworkInterface::Map NetworkInterface::map(bool ipOnly, bool upOnly)
11071107
ifIndex = pAddress->Ipv6IfIndex;
11081108
}
11091109
}
1110-
else if ((osvi.dwMajorVersion >= 5) &&
1110+
else
1111+
{
1112+
if ((osvi.dwMajorVersion >= 5) &&
11111113
(osvi.dwMinorVersion >= 1) &&
11121114
(osvi.dwBuildNumber >= 1))
11131115
{

0 commit comments

Comments
 (0)