Changeset 45047 in vbox for trunk/src/VBox/Runtime/common/misc/cidr.cpp
- Timestamp:
- Mar 15, 2013 9:19:16 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/cidr.cpp
r44528 r45047 38 38 39 39 40 RTDECL(int) RTCidrStrToIPv4(const char *pszAddress, PRT IPV4ADDR pNetwork, PRTIPV4ADDRpNetmask)40 RTDECL(int) RTCidrStrToIPv4(const char *pszAddress, PRTNETADDRIPV4 pNetwork, PRTNETADDRIPV4 pNetmask) 41 41 { 42 42 uint8_t cBits; … … 111 111 return VERR_INVALID_PARAMETER; 112 112 113 *pNetmask= u32Netmask;114 *pNetwork= u32Network;113 pNetmask->u = u32Netmask; 114 pNetwork->u = u32Network; 115 115 return VINF_SUCCESS; 116 116 }
Note:
See TracChangeset
for help on using the changeset viewer.