Changeset 63266 in vbox for trunk/src/VBox/NetworkServices/DHCP/NetworkManagerDhcp.cpp
- Timestamp:
- Aug 10, 2016 1:21:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/DHCP/NetworkManagerDhcp.cpp
r62481 r63266 67 67 68 68 int rc = ConfigurationManager::extractRequestList(pDhcpMsg, cb, opt); 69 NOREF(rc); /** @todo check */ 69 70 70 71 /* 3. Send of offer */ … … 75 76 offer4Client(client, pDhcpMsg->bp_xid, opt.au8RawOpt, opt.cbRawOpt); 76 77 77 return VINF_SUCCESS;78 return true; 78 79 } 79 80 … … 107 108 return true; 108 109 } 109 else { 110 /* XXX: Validate request */ 111 RawOption opt; 112 RT_ZERO(opt); 110 /* XXX: Validate request */ 111 RawOption opt; 112 RT_ZERO(opt); 113 113 114 115 116 114 Client c(client); 115 int rc = confManager->commitLease4Client(c); 116 AssertRCReturn(rc, false); 117 117 118 119 118 rc = ConfigurationManager::extractRequestList(pDhcpMsg, cb, opt); 119 AssertRCReturn(rc, false); 120 120 121 ack(client, pDhcpMsg->bp_xid, opt.au8RawOpt, opt.cbRawOpt); 122 } 121 ack(client, pDhcpMsg->bp_xid, opt.au8RawOpt, opt.cbRawOpt); 123 122 } 124 123 else
Note:
See TracChangeset
for help on using the changeset viewer.