summaryrefslogtreecommitdiff
path: root/ui/packet_list_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/packet_list_utils.c')
-rw-r--r--ui/packet_list_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/packet_list_utils.c b/ui/packet_list_utils.c
index 348fa9ccc5..de645cd9bd 100644
--- a/ui/packet_list_utils.c
+++ b/ui/packet_list_utils.c
@@ -54,7 +54,7 @@ right_justify_column (gint col, capture_file *cf)
break;
case COL_CUSTOM:
- hfi = proto_registrar_get_byname(cf->cinfo.columns[col].col_custom_field);
+ hfi = proto_registrar_get_byname(cf->cinfo.columns[col].col_custom_fields);
/* Check if this is a valid field and we have no strings lookup table */
if ((hfi != NULL) && ((hfi->strings == NULL) || !get_column_resolved(col))) {
/* Check for bool, framenum and decimal/octal integer types */
@@ -84,7 +84,7 @@ resolve_column (gint col, capture_file *cf)
switch (cf->cinfo.columns[col].col_fmt) {
case COL_CUSTOM:
- hfi = proto_registrar_get_byname(cf->cinfo.columns[col].col_custom_field);
+ hfi = proto_registrar_get_byname(cf->cinfo.columns[col].col_custom_fields);
/* Check if this is a valid field */
if (hfi != NULL) {
/* Check if we have an OID or a strings table with integer values */