VirtualBox

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


Ignore:
Timestamp:
Mar 23, 2011 4:40:17 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70692
Message:

NAT: loging of ethernet addresses.

File:
1 edited

Legend:

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

    r35351 r36351  
    248248                   void *pvUser)
    249249{
    250     char *ether = (char *)pvUser;
     250    char *ether = (char *)pvValue;
    251251
    252252    AssertReturn(strcmp(pszType, "ether") == 0, 0);
    253     if (ether != NULL)
     253    if (ether)
    254254        return RTStrFormat(pfnOutput, pvArgOutput, NULL, 0,
    255             "[ether %hhx:%hhx:%hhx:%hhx:%hhx:%hhx]",
     255            "[ether %RX8:%RX8:%RX8:%RX8:%RX8:%RX8]",
    256256            ether[0], ether[1], ether[2],
    257257            ether[3], ether[4], ether[5]);
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