VirtualBox

Changeset 45322 in vbox for trunk/src


Ignore:
Timestamp:
Apr 4, 2013 4:49:45 AM (12 years ago)
Author:
vboxsync
Message:

NAT:udp: using CTL_CHECK shortcut.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/udp.c

    r44528 r45322  
    278278     */
    279279    if (   pData->fUseDnsProxy
    280         && (ip->ip_dst.s_addr == RT_H2N_U32(RT_N2H_U32(pData->special_addr.s_addr) | CTL_DNS))
     280        && CTL_CHECK(ip->ip_dst.s_addr, CTL_DNS)
    281281        && (uh->uh_dport == RT_H2N_U16_C(53)))
    282282    {
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