Changeset 90743 in vbox
- Timestamp:
- Aug 19, 2021 12:59:03 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/adpctl/VBoxNetAdpCtl.cpp
r90742 r90743 238 238 { 239 239 const char *pcszFamily = isAddrV6(pcszAddress) ? "inet6" : "inet"; 240 if (execute(CmdList(pcszAdapter) << pcszFamily)) 241 execute(CmdList(pcszAdapter) << pcszFamily << "plumb" << "up"); 240 int status; 241 242 status = execute(CmdList(pcszAdapter) << pcszFamily); 243 if (status != EXIT_SUCCESS) 244 status = execute(CmdList(pcszAdapter) << pcszFamily << "plumb" << "up"); 245 if (status != EXIT_SUCCESS) 246 return status; 247 242 248 return CmdIfconfig::set(pcszAdapter, pcszAddress, pcszNetmask); 243 249 }; … … 247 253 { 248 254 int rc = CmdIfconfig::removeV4(pcszAdapter, pcszAddress); 255 256 /** @todo Do we really need to unplumb inet here? */ 249 257 execute(CmdList(pcszAdapter) << "inet" << "unplumb"); 250 258 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.