Changeset 48415 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Sep 10, 2013 3:17:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp
r48405 r48415 973 973 974 974 /* XXX: adding more services should change the math here */ 975 RTNETADDRIPV4 dhcplowerip; 976 dhcplowerip.u = RT_H2N_U32(dhcpserver.u + 1); 975 RTNETADDRIPV4 dhcplowerip = network; 976 uint32_t offDhcpLowerIp; 977 findFirstAvailableOffset(&offDhcpLowerIp); 978 dhcplowerip.u = RT_H2N_U32(dhcplowerip.u + offDhcpLowerIp); 979 977 980 RTNETADDRIPV4 dhcpupperip; 978 981 dhcpupperip.u = RT_H2N_U32((network.u | ~netmask.u) - 1);
Note:
See TracChangeset
for help on using the changeset viewer.