Changeset 67415 in vbox for trunk/src/VBox/Runtime/common/net/netaddrstr2.cpp
- Timestamp:
- Jun 15, 2017 6:29:54 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/net/netaddrstr2.cpp
r67414 r67415 525 525 switch (pMask->au8[i]) 526 526 { 527 case 0x00: iBits = 0; break;528 case 0x80: iBits = 1; break;529 case 0xc0: iBits = 2; break;530 case 0xe0: iBits = 3; break;531 case 0xf0: iBits = 4; break;532 case 0xf8: iBits = 5; break;533 case 0xfc: iBits = 6; break;534 case 0xfe: iBits = 7; break;535 case 0xff: iBits = 8; break;536 default: /* non-contiguous mask */537 return VERR_INVALID_PARAMETER;527 case 0x00: iBits = 0; break; 528 case 0x80: iBits = 1; break; 529 case 0xc0: iBits = 2; break; 530 case 0xe0: iBits = 3; break; 531 case 0xf0: iBits = 4; break; 532 case 0xf8: iBits = 5; break; 533 case 0xfc: iBits = 6; break; 534 case 0xfe: iBits = 7; break; 535 case 0xff: iBits = 8; break; 536 default: /* non-contiguous mask */ 537 return VERR_INVALID_PARAMETER; 538 538 } 539 539
Note:
See TracChangeset
for help on using the changeset viewer.