Changeset 68447 in vbox for trunk/src/VBox
- Timestamp:
- Aug 17, 2017 3:01:13 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/NATEngineImpl.cpp
r68444 r68447 410 410 int rc = RTNetStrToIPv4Addr(aHostIP.c_str(), &addr); 411 411 if (RT_FAILURE(rc)) 412 return E_INVALIDARG;412 return setError(E_INVALIDARG, "Invalid IPv4 address \"%s\"", aHostIP.c_str()); 413 413 414 414 /* is a unicast address */ 415 415 if ((addr.u & RT_N2H_U32_C(0xe0000000)) == RT_N2H_U32_C(0xe0000000)) 416 return E_INVALIDARG;416 return setError(E_INVALIDARG, "Cannot bind to a multicast address %s", aHostIP.c_str()); 417 417 } 418 418
Note:
See TracChangeset
for help on using the changeset viewer.