aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/str_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/str_util.c')
-rw-r--r--wsutil/str_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wsutil/str_util.c b/wsutil/str_util.c
index 9f8cac5320..f2de5bfbee 100644
--- a/wsutil/str_util.c
+++ b/wsutil/str_util.c
@@ -131,6 +131,9 @@ gchar *format_size(gint64 size, format_size_flags_e flags) {
case format_size_unit_bits_s:
g_string_append(human_str, is_small ? "bits/s" : "bps");
break;
+ case format_size_unit_bytes_s:
+ g_string_append(human_str, is_small ? "bytes/s" : "Bps");
+ break;
default:
g_assert_not_reached();
}