VirtualBox

Changeset 50360 in vbox for trunk/src


Ignore:
Timestamp:
Feb 7, 2014 2:54:38 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92106
Message:

Print ifconfig-like information about proxy netif to release log.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp

    r50279 r50360  
    404404    AssertPtrReturnVoid(pNetif);
    405405
     406    LogRel(("netif %c%c%d: mac %RTmac\n",
     407            pNetif->name[0], pNetif->name[1], pNetif->num,
     408            pNetif->hwaddr));
     409    LogRel(("netif %c%c%d: inet %RTnaipv4 netmask %RTnaipv4\n",
     410            pNetif->name[0], pNetif->name[1], pNetif->num,
     411            pNetif->ip_addr, pNetif->netmask));
     412    for (int i = 0; i < LWIP_IPV6_NUM_ADDRESSES; ++i) {
     413        if (!ip6_addr_isinvalid(netif_ip6_addr_state(pNetif, i))) {
     414            LogRel(("netif %c%c%d: inet6 %RTnaipv6\n",
     415                    pNetif->name[0], pNetif->name[1], pNetif->num,
     416                    netif_ip6_addr(pNetif, i)));
     417        }
     418    }
     419
    406420    netif_set_up(pNetif);
    407421    netif_set_link_up(pNetif);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette