VirtualBox

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


Ignore:
Timestamp:
Jul 8, 2015 2:04:16 PM (10 years ago)
Author:
vboxsync
Message:

DrvNetSniffer: be more verbose where we log to

File:
1 edited

Legend:

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

    r56292 r56866  
    3232#include <iprt/time.h>
    3333#include <iprt/uuid.h>
     34#include <iprt/path.h>
    3435#include <VBox/param.h>
    3536
     
    489490                                   N_("Netsniffer cannot open '%s' for writing. The directory must exist and it must be writable for the current user"), pThis->szFilename);
    490491
     492    char *pszPathReal = RTPathRealDup(pThis->szFilename);
     493    if (pszPathReal)
     494    {
     495        LogRel(("Netsniffing to '%s'\n", pszPathReal));
     496        RTStrFree(pszPathReal);
     497    }
     498    else
     499        LogRel(("Netsniffing to '%s'\n", pThis->szFilename));
     500
    491501    /*
    492502     * Write pcap header.
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