Changeset 54284 in vbox
- Timestamp:
- Feb 18, 2015 8:51:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/DHCPServerImpl.cpp
r54265 r54284 179 179 HRESULT DHCPServer::getNetworkName(com::Utf8Str &aName) 180 180 { 181 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 182 181 183 aName = mName; 182 184 return S_OK; … … 186 188 HRESULT DHCPServer::getEnabled(BOOL *aEnabled) 187 189 { 190 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 191 188 192 *aEnabled = m->enabled; 189 190 193 return S_OK; 191 194 } … … 208 211 HRESULT DHCPServer::getIPAddress(com::Utf8Str &aIPAddress) 209 212 { 213 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 214 210 215 aIPAddress = Utf8Str(m->IPAddress); 211 212 216 return S_OK; 213 217 } … … 216 220 HRESULT DHCPServer::getNetworkMask(com::Utf8Str &aNetworkMask) 217 221 { 222 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 223 218 224 aNetworkMask = m->GlobalDhcpOptions[DhcpOpt_SubnetMask]; 219 220 225 return S_OK; 221 226 } … … 224 229 HRESULT DHCPServer::getLowerIP(com::Utf8Str &aIPAddress) 225 230 { 231 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 232 226 233 aIPAddress = Utf8Str(m->lowerIP); 227 228 234 return S_OK; 229 235 } … … 232 238 HRESULT DHCPServer::getUpperIP(com::Utf8Str &aIPAddress) 233 239 { 240 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 241 234 242 aIPAddress = Utf8Str(m->upperIP); 235 236 243 return S_OK; 237 244 }
Note:
See TracChangeset
for help on using the changeset viewer.