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

Hi all;

After the reassembling developments we've made in our dissector plugin, col__ append__ fstr doesn't work correctly anymore. It does not append, it works like col__ add__fstr and displays the last item only.

col append fstr(pinfo->cinfo, COL __ INFO, "%s(%d) ", message_name, messageId);

Why would it be?

asked 17 May '13, 00:01

barisalis's gravatar image

barisalis
16337
accept rate: 100%


After reassambling, pinfo does not contain the whole packet but contains the specific message only. That's the reason of the problem.

It's solved after calling the col _ clear function before tcp _ dissect _ pdus.

permanent link

answered 17 May '13, 00:17

barisalis's gravatar image

barisalis
16337
accept rate: 100%

edited 17 May '13, 00:18

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×9
×3
×1

question asked: 17 May '13, 00:01

question was seen: 1,176 times

last updated: 17 May '13, 00:18

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