Changeset 79823 in vbox for trunk/src/VBox/Main/src-server/DHCPServerImpl.cpp
- Timestamp:
- Jul 16, 2019 8:14:56 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/DHCPServerImpl.cpp
r79778 r79823 551 551 return setError(E_INVALIDARG, tr("Invalid range upper address"), aUpperIP.c_str(), aNetworkMask.c_str()); 552 552 553 /* The range should be valid ...*/553 /* The range should be valid. (It's okay to overlap the server IP.) */ 554 554 if (LowerIP.u > UpperIP.u) 555 555 return setError(E_INVALIDARG, tr("Lower bound must be less or eqaul than the upper: %s vs %s"), 556 556 aLowerIP.c_str(), aUpperIP.c_str()); 557 558 /* ... and shouldn't contain the server's address */559 if (LowerIP.u <= IPAddress.u && IPAddress.u <= UpperIP.u)560 return setError(E_INVALIDARG, tr("Server address within range bounds: %s in %s - %s"),561 aIPAddress.c_str(), aLowerIP.c_str(), aUpperIP.c_str());562 557 563 558 /*
Note:
See TracChangeset
for help on using the changeset viewer.