Skip to content

Commit

Permalink
Disable report.xml when run it with -c (#260)
Browse files Browse the repository at this point in the history
It is qutie expected that `-c` makes stdout only output, and disables `report.xml`.
  • Loading branch information
catap committed Jun 17, 2024
1 parent 5ca444e commit c125d85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tcpflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@ int main(int argc, char *argv[])
demux.opt.suppress_header = 1; DEBUG(10) ("packet header dump suppressed");
break;
case 'c':
opt_enable_report = false;
demux.opt.console_output = true; DEBUG(10) ("printing packets to console only");
break;
case '0':
Expand Down

0 comments on commit c125d85

Please sign in to comment.