VirtualBox

Changeset 48493 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Sep 16, 2013 3:42:47 PM (11 years ago)
Author:
vboxsync
Message:

NAT/Slirp:slirp_init: prevent loading host's DNS details in case of host resolver.

File:
1 edited

Legend:

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

    r48150 r48493  
    353353    /* set default addresses */
    354354    inet_aton("127.0.0.1", &loopback_addr);
    355     rc = slirpInitializeDnsSettings(pData);
    356     AssertRCReturn(rc, VINF_NAT_DNS);
     355   
     356    if (!fUseHostResolver)
     357    {
     358        rc = slirpInitializeDnsSettings(pData);
     359        AssertRCReturn(rc, VINF_NAT_DNS);
     360    }
     361
    357362    rc = slirpTftpInit(pData);
    358363    AssertRCReturn(rc, VINF_NAT_DNS);
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