aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/proto.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 5e6b032227..88825c5fc4 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -7231,6 +7231,14 @@ hfinfo_number_value_format_display(const header_field_info *hfinfo, int display,
ptr = hex_to_str_back(ptr, _hfinfo_type_hex_octet(hfinfo->type), value);
return ptr;
+ case BASE_PT_UDP:
+ case BASE_PT_TCP:
+ case BASE_PT_DCCP:
+ case BASE_PT_SCTP:
+ port_with_resolution_to_str_buf(buf, 32,
+ display_to_port_type((field_display_e)display), value);
+ return buf;
+
default:
g_assert_not_reached();
}