diff options
author | Michael Mann <mmann78@netscape.net> | 2017-06-22 17:02:35 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-06-22 23:49:37 +0000 |
commit | 66c2f5b5f17c3873d0b9e6ea853ccf7bf8c7062d (patch) | |
tree | 8bf32dc7b97f345c4611f44e72b894bf41f999ba /ui | |
parent | 23c7d5f4e7dc6c087f2b895f5d1907d7f980eeac (diff) | |
download | wireshark-66c2f5b5f17c3873d0b9e6ea853ccf7bf8c7062d.tar.gz |
Properly find packet comments "field" for protocol hierarchy stats.
That way it can be properly filtered out.
This was broken when pkt_comments was switched to a pino and
wasn't available in the protocol filters list.
Change-Id: Ie3f2b4f25eeb11be57111c98be87e33e0849174b
Reviewed-on: https://code.wireshark.org/review/22363
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/proto_hier_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/proto_hier_stats.c b/ui/proto_hier_stats.c index a4a6373099..3275e16453 100644 --- a/ui/proto_hier_stats.c +++ b/ui/proto_hier_stats.c @@ -217,7 +217,7 @@ ph_stats_new(capture_file *cf) if (!cf) return NULL; - pc_proto_id = proto_get_id_by_filter_name("pkt_comment"); + pc_proto_id = proto_registrar_get_id_byname("pkt_comment"); /* Initialize the data */ ps = g_new(ph_stats_t, 1); |