Changeset 5c866be for tools/tracetop


Ignore:
Timestamp:
12/02/09 11:49:19 (12 years ago)
Author:
Perry Lorier <perry@…>
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:
f38ba3c
Parents:
cde85f8
Message:

Support undocumented initialisation flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracetop/tracetop.cc

    rcde85f8 r5c866be  
    490490                };
    491491
    492                 int c= getopt_long(argc, argv, "f:Fs:p:hHi:",
     492                int c= getopt_long(argc, argv, "f:Fs:p:hHi:12345",
    493493                                long_options, &option_index);
    494494
     
    525525                                }
    526526                                break;
     527                        case '1': use_sip       = !use_sip; break;
     528                        case '2': use_sport     = !use_sport; break;
     529                        case '3': use_dip       = !use_dip; break;
     530                        case '4': use_dport     = !use_dport; break;
     531                        case '5': use_protocol  = !use_protocol; break;
    527532                        default:
    528533                                fprintf(stderr,"Unknown option: %c\n",c);
Note: See TracChangeset for help on using the changeset viewer.