VirtualBox

Changeset 29968 in vbox for trunk


Ignore:
Timestamp:
Jun 2, 2010 4:44:43 AM (15 years ago)
Author:
vboxsync
Message:

NAT: do dns proxy , if the mode is enabled.

File:
1 edited

Legend:

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

    r29967 r29968  
    729729             *  Note: Here we can't check if dnsproxy's sent initial request
    730730             */
    731             if (so->so_fport == RT_H2N_U16_C(53))
     731            if (   pData->fUseDnsProxy
     732                && so->so_fport == RT_H2N_U16_C(53))
    732733                dnsproxy_answer(pData, so, m);
    733734
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