Wireshark-commits: [Wireshark-commits] rev 27407: /trunk/ /trunk/epan/dissectors/: packet-isup.c pa

Date: Tue, 10 Feb 2009 03:55:07 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27407

User: ulfl
Date: 2009/02/09 07:55 PM

Log:
 Remove an ugly hack:
 There was an ugly hack while creating the menu, that tried to detect the stat_group a stats_tree belongs to by looking at the name string. That makes it unnecessarily hard to understand how the menu is really created.
 
 Fix: Add a new function stats_tree_register_with_group() that takes the stat_group as a parameter. Use this function where a stats_tree doesn't fit into the default "unsorted" group.

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +3 -2      packet-isup.c    Modified
  +3 -2      packet-smpp.c    Modified
  +2 -2      packet-ucp.c     Modified

Directory: /trunk/epan/
  Changes    Path                 Action
  +1 -0      libwireshark.def     Modified
  +14 -2     stats_tree.c         Modified
  +19 -1     stats_tree.h         Modified
  +1 -0      stats_tree_priv.h    Modified

Directory: /trunk/gtk/
  Changes    Path                 Action
  +1 -10     stats_tree_stat.c    Modified

Directory: /trunk/plugins/stats_tree/
  Changes    Path                  Action
  +1 -1      pinfo_stats_tree.c    Modified