Ethereal-dev: [Ethereal-dev] Newbie - Plugin Dissector Only entered with non-zero tree once.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Harry Goldschmitt <harry@xxxxxxxx>
Date: Wed, 1 May 2002 03:12:21 -0700
I hope I've made an obvious mistake.

I'm writing a new plug in dissector under RH 7.2 Ethereal 0.8.18. I have a large file of packets for the TCP based protocol I'm trying to dissect. The dissector correctly creates lines in the traffic summary window, and via printf's I can see that it was entered once in the dissect_protocol routine with a non-zero tree. At that time, I create a proto_tree for the first packet. I can see it in the window, while the file is loading. As soon as the load completes, my proto_tree disappears and my dissector is never entered again with a non-zero tree. I can click around the summary window to my hearts content, but never another non-zero tree. I've built my dissector based on the README.developer v. 1.28.

Harry Goldschmitt