aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rpc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-12-28 16:31:06 -0800
committerGuy Harris <guy@alum.mit.edu>2015-12-29 00:31:37 +0000
commit9067ee8f5a9d986efdc2fb7da9cd8f39017af129 (patch)
tree8a962e93c3904ef417ae8e5183e814d9d733fbf1 /epan/dissectors/packet-rpc.c
parent0c156fec93e31a8d80653e0288925acf2275111e (diff)
Rename new_stat_tap_ui to stat_tap_table_ui.
A "new" statistics tap UI is a statistics tap UI where the statistics are maintained as tables and common code handles the tables; what matters is the tables, not that it's "new". Change-Id: I7a0e63cfac98c24cd5e7dce973b9a0cc5b6a03ba Reviewed-on: https://code.wireshark.org/review/12897 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-rpc.c')
-rw-r--r--epan/dissectors/packet-rpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-rpc.c b/epan/dissectors/packet-rpc.c
index c8abc674af..933da9b6fd 100644
--- a/epan/dissectors/packet-rpc.c
+++ b/epan/dissectors/packet-rpc.c
@@ -3851,7 +3851,7 @@ static stat_tap_table_item rpc_prog_stat_fields[] = {
{TABLE_ITEM_FLOAT, TAP_ALIGN_RIGHT, "Avg SRT (s)", "%.2f"}
};
-static void rpc_prog_stat_init(new_stat_tap_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
+static void rpc_prog_stat_init(stat_tap_table_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
{
int num_fields = sizeof(rpc_prog_stat_fields)/sizeof(stat_tap_table_item);
stat_tap_table* table;
@@ -4242,7 +4242,7 @@ proto_register_rpc(void)
{ PARAM_FILTER, "filter", "Filter", NULL, TRUE }
};
- static new_stat_tap_ui rpc_prog_stat_table = {
+ static stat_tap_table_ui rpc_prog_stat_table = {
REGISTER_STAT_GROUP_UNSORTED,
"ONC-RPC Programs",
"rpc",
@@ -4302,7 +4302,7 @@ proto_register_rpc(void)
rpc_tap = register_tap("rpc");
register_srt_table(proto_rpc, NULL, 1, rpcstat_packet, rpcstat_init, rpcstat_param);
- register_new_stat_tap_ui(&rpc_prog_stat_table);
+ register_stat_tap_table_ui(&rpc_prog_stat_table);
/*
* Init the hash tables. Dissectors for RPC protocols must