This is our old Q&A Site. Please post any new questions and answers at

I have to filter single TCP streams out of the open capture file. Therefore I am programmatically applying display-filter " eq TCP_STREAM_ID". The problem I have is that no matter the value of TCP_STREAM_ID, I always get the first stream shown in the Conversations dialog of the Statistics menu.

Please find a snapshot of my code below.

gchar *data_out_filename;
QString follow_filter;
int tmp_fd;

follow_filter=QString(" eq 5"); //I am filtering tcp stream conversations.

tmp_fd = create_tempfile(&data_out_filename, "follow");
data_out_file = fdopen(tmp_fd, "w+b");

emit updateFilter(follow_filter, TRUE);

What am I doing wrong? Am I missing anything?

asked 14 Jul '15, 15:12

CrazyL's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 Jul '15, 15:12

question was seen: 2,972 times

last updated: 14 Jul '15, 15:12

p​o​w​e​r​e​d by O​S​Q​A