VirtualBox

Changeset 87924 in vbox for trunk


Ignore:
Timestamp:
Mar 2, 2021 8:02:19 PM (4 years ago)
Author:
vboxsync
Message:

VBoxIntnetPcap: Map --network to -i to match tcpdump short options. bugref:9959.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxIntnetPcap/VBoxIntnetPcap.cpp

    r87923 r87924  
    4444{
    4545    { "--count",                'c',   RTGETOPT_REQ_UINT64 },
    46     { "--network",              'n',   RTGETOPT_REQ_STRING },
     46    { "--network",              'i',   RTGETOPT_REQ_STRING },
    4747    { "--snaplen",              's',   RTGETOPT_REQ_UINT32 },
    4848    { "--packet-buffered",      'U',   RTGETOPT_REQ_NOTHING },
     
    8484                break;
    8585
    86             case 'n':           /* --network */
     86            case 'i':           /* --network */
    8787                if (strNetworkName.isNotEmpty())
    8888                    return RTMsgErrorExit(RTEXITCODE_SYNTAX,
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