VirtualBox

Changeset 18726 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 6, 2009 5:50:34 AM (16 years ago)
Author:
vboxsync
Message:

NAT: DNS proxy more logging

Location:
trunk/src/VBox/Devices/Network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r18645 r18726  
    845845        return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, N_("NAT#%d: configuration query for \"NextServer\" string failed"), pDrvIns->iInstance);
    846846#ifdef VBOX_WITH_SLIRP_DNS_PROXY
    847     bool fDNSProxy;
    848     rc = CFGMR3QueryBool(pCfgHandle, "DNSProxy", &fDNSProxy);
     847    int fDNSProxy;
     848    rc = CFGMR3QueryS32(pCfgHandle, "DNSProxy", &fDNSProxy);
    849849    if (rc == VERR_CFGM_VALUE_NOT_FOUND)
    850         fDNSProxy = false;
     850        fDNSProxy = 0;
    851851#endif
    852852
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r18606 r18726  
    17601760void slirp_set_dhcp_dns_proxy(PNATState pData, bool fDNSProxy)
    17611761{
     1762    Log2(("NAT: DNS proxy switched %s\n", (fDNSProxy ? "on" : "off")));
    17621763    pData->use_dns_proxy = fDNSProxy;
    17631764}
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