Don't show the generic base classes Header, Trailer in the filter list
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Wed, 15 Oct 2008 19:52:59 +0100
changeset 3872 b1b0e1b4f391
parent 3871 24a52edc8689
child 3884 a5b46ade999c
Don't show the generic base classes Header, Trailer in the filter list
src/contrib/visualizer/plugins/show_last_packets.py
--- a/src/contrib/visualizer/plugins/show_last_packets.py	Wed Oct 15 19:44:25 2008 +0100
+++ b/src/contrib/visualizer/plugins/show_last_packets.py	Wed Oct 15 19:52:59 2008 +0100
@@ -142,6 +142,8 @@
                     break
             if not type_is_good:
                 continue
+            if typeid in [Header, Trailer]:
+                continue
             c = TypeIdConfig()
             c.selected = True
             c.name = typeid.GetName()