Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 4590] ANCP (Access Node Control Protocol) Dissector

Date: Tue, 30 Mar 2010 07:04:36 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4590

--- Comment #11 from Aniruddha <aniruddha.a@xxxxxxxxx> 2010-03-30 07:04:31 PDT ---
Hi Bill,

On the stats, I got the problem, I was adding the stat to 
the tap node in the if(tree) {}

if (tree) { /* we are asked for details */
 ... here ...
  .... and all dissection ...
}

And this was not getting invoked when stats are run without
a filter.

The following:

if (tree || have_tap_listener(ancp_tap)) {
 ...dissect...
  ...incr stat...
}

will work, but I am not sure if this is the right approach
If this is ok, I will re-submit the patch with this change.

--
Ani

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.