aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/pcapng.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-06-17 15:04:44 -0700
committerGuy Harris <gharris@sonic.net>2021-06-17 15:04:44 -0700
commit9773b5a4a78ad25865df79ef9b5cd6ddfb3f1b67 (patch)
tree7e16baa5495cc5b2564dc974a2d19a97178983f4 /wiretap/pcapng.c
parent6eb3703379e027be51636d7f173ed50843a05c34 (diff)
Just call the block type for custom blocks WTAP_BLOCK_CUSTOM.
No need to add a redundant "_BLOCK" at the end.
Diffstat (limited to 'wiretap/pcapng.c')
-rw-r--r--wiretap/pcapng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/pcapng.c b/wiretap/pcapng.c
index caeb3e7f50..e611f2e9e2 100644
--- a/wiretap/pcapng.c
+++ b/wiretap/pcapng.c
@@ -5475,7 +5475,7 @@ static const struct supported_block_type pcapng_blocks_supported[] = {
{ WTAP_BLOCK_SYSTEMD_JOURNAL_EXPORT, MULTIPLE_BLOCKS_SUPPORTED, OPTION_TYPES_SUPPORTED(systemd_journal_export_block_options_supported) },
/* Multiple custom blocks. */
- { WTAP_BLOCK_CUSTOM_BLOCK, MULTIPLE_BLOCKS_SUPPORTED, NO_OPTIONS_SUPPORTED },
+ { WTAP_BLOCK_CUSTOM, MULTIPLE_BLOCKS_SUPPORTED, NO_OPTIONS_SUPPORTED },
};
static const struct file_type_subtype_info pcapng_info = {