VirtualBox

Changeset 40286 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Feb 29, 2012 8:36:19 AM (13 years ago)
Author:
vboxsync
Message:

NAT: netmask in host format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/ctl.h

    r40285 r40286  
    2626
    2727#define CTL_CHECK(x, ctl) ((RT_N2H_U32((x)) & ~pData->netmask) == (ctl) \
    28                            && (((x) & ~pData->netmask) == pData->special_addr.s_addr))
     28                           && (((x) & RT_H2N_U32(pData->netmask)) == pData->special_addr.s_addr))
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