diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-12-28 16:31:06 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-12-29 00:31:37 +0000 |
commit | 9067ee8f5a9d986efdc2fb7da9cd8f39017af129 (patch) | |
tree | 8a962e93c3904ef417ae8e5183e814d9d733fbf1 /epan/dissectors/packet-bootp.c | |
parent | 0c156fec93e31a8d80653e0288925acf2275111e (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-bootp.c')
-rw-r--r-- | epan/dissectors/packet-bootp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c index ffd8ca32a8..5415d0fec2 100644 --- a/epan/dissectors/packet-bootp.c +++ b/epan/dissectors/packet-bootp.c @@ -5617,7 +5617,7 @@ typedef enum static stat_tap_table_item bootp_stat_fields[] = {{TABLE_ITEM_STRING, TAP_ALIGN_LEFT, "DHCP Message Type", "%-25s"}, {TABLE_ITEM_UINT, TAP_ALIGN_RIGHT, "Packets", "%d"}}; -static void bootp_stat_init(new_stat_tap_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data) +static void bootp_stat_init(stat_tap_table_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data) { int num_fields = sizeof(bootp_stat_fields)/sizeof(stat_tap_table_item); stat_tap_table* table = new_stat_tap_init_table("DHCP Statistics", num_fields, 0, NULL, gui_callback, gui_data); @@ -7828,7 +7828,7 @@ proto_register_bootp(void) { PARAM_FILTER, "filter", "Filter", NULL, TRUE } }; - static new_stat_tap_ui bootp_stat_table = { + static stat_tap_table_ui bootp_stat_table = { REGISTER_STAT_GROUP_UNSORTED, "DHCP (BOOTP) Statistics", "bootp", @@ -7903,7 +7903,7 @@ proto_register_bootp(void) "Custom BootP/DHCP Options (Excl. suboptions)", bootp_uat); - register_new_stat_tap_ui(&bootp_stat_table); + register_stat_tap_table_ui(&bootp_stat_table); } void |