VirtualBox

Ignore:
Timestamp:
Mar 15, 2013 9:19:16 AM (12 years ago)
Author:
vboxsync
Message:

iprt/cidr.h: RTIPV4ADDR -> RTNETADDRIPV4.
the dependencies are modified as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/cidr.cpp

    r44528 r45047  
    3838
    3939
    40 RTDECL(int) RTCidrStrToIPv4(const char *pszAddress, PRTIPV4ADDR pNetwork, PRTIPV4ADDR pNetmask)
     40RTDECL(int) RTCidrStrToIPv4(const char *pszAddress, PRTNETADDRIPV4 pNetwork, PRTNETADDRIPV4 pNetmask)
    4141{
    4242    uint8_t cBits;
     
    111111        return VERR_INVALID_PARAMETER;
    112112
    113     *pNetmask = u32Netmask;
    114     *pNetwork = u32Network;
     113    pNetmask->u = u32Netmask;
     114    pNetwork->u = u32Network;
    115115    return VINF_SUCCESS;
    116116}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette