VirtualBox

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


Ignore:
Timestamp:
Jul 13, 2012 9:41:27 AM (12 years ago)
Author:
vboxsync
Message:

NAT: prints nameserver ip-addresses (release log).

File:
1 edited

Legend:

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

    r41980 r42137  
    319319        else
    320320            dnsproxy_init(pData);
     321
     322        if (!pData->fUseHostResolver)
     323        {
     324            struct dns_entry *pDNSEntry = NULL;
     325            int cDNSListEntry = 0;
     326            TAILQ_FOREACH_REVERSE(pDNSEntry, &pData->pDnsList, dns_list_head, de_list)
     327            {
     328                LogRel(("NAT: DNS#%i: %RTnaipv4\n", cDNSListEntry, pDNSEntry->de_addr.s_addr));
     329                cDNSListEntry++;
     330            }
     331        }
    321332    }
    322333
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