Changeset 65659 in vbox for trunk/src/VBox/NetworkServices/DHCP/Config.cpp
- Timestamp:
- Feb 7, 2017 1:17:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/DHCP/Config.cpp
r65119 r65659 343 343 { 344 344 Assert(uOption != RTNET_DHCP_OPT_PAD); 345 Assert(uOption != RTNET_DHCP_OPT_END); 345 346 346 347 /* … … 369 370 pb++; 370 371 } 372 else if (uCur == RTNET_DHCP_OPT_END) 373 break; 371 374 else if (cbLeft <= 1) 372 375 break; … … 384 387 } 385 388 pb += cbCur + 2; 386 cbLeft -= cbCur -2;389 cbLeft -= cbCur + 2; 387 390 } 388 391 }
Note:
See TracChangeset
for help on using the changeset viewer.