Changeset bab946c for tools/tracesplit
- Timestamp:
- 01/15/19 16:47:20 (2 years ago)
- Branches:
- develop
- Children:
- e9fe6ac
- Parents:
- edd0448
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracesplit/tracesplit.c
r4c5bbfc rbab946c 52 52 uint64_t filescreated = 0; 53 53 uint16_t snaplen = 0; 54 int jump =0;54 int jumpopt=0; 55 55 int verbose=0; 56 56 int compress_level=-1; … … 324 324 325 325 /* Support "jump"ping to the nth IP header. */ 326 if (jump ) {326 if (jumpopt) { 327 327 /* Skip headers */ 328 struct libtrace_packet_t *newpacket = perform_jump(*packet, jump );328 struct libtrace_packet_t *newpacket = perform_jump(*packet, jumpopt); 329 329 if (newpacket) { 330 330 /* If an IP header was found on the nth layer down … … 404 404 case 'i': interval=atoi(optarg); 405 405 break; 406 case 'j': jump =atoi(optarg);406 case 'j': jumpopt=atoi(optarg); 407 407 break; 408 408 case 'm': maxfiles=atoi(optarg);
Note: See TracChangeset
for help on using the changeset viewer.