Changeset 501a8eb for tools/tracetop


Ignore:
Timestamp:
03/11/13 13:50:34 (9 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
ca076e7
Parents:
91283e8
Message:
  • Fixed bug in tracetop where the -p option expected an argument that it wouldn't use
  • Fixed bug in tracetop where the -P option just didn't work at all because it wasn't listed in the string passed into getopt_long
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracetop/tracetop.cc

    r91283e8 r501a8eb  
    547547                        { "filter",             1, 0, 'f' },
    548548                        { "snaplen",            1, 0, 's' },
    549                         { "promisc",            1, 0, 'p' },
     549                        { "promisc",            0, 0, 'p' },
    550550                        { "help",               0, 0, 'h' },
    551551                        { "libtrace-help",      0, 0, 'H' },
     
    558558                };
    559559
    560                 int c= getopt_long(argc, argv, "f:Fs:p:hHi:w12345",
     560                int c= getopt_long(argc, argv, "Pf:Fs:p:hHi:w12345",
    561561                                long_options, &option_index);
    562562
Note: See TracChangeset for help on using the changeset viewer.