aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-systemd-journal.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-06-17 13:52:45 -0700
committerGuy Harris <gharris@sonic.net>2021-06-17 13:52:45 -0700
commit6eb3703379e027be51636d7f173ed50843a05c34 (patch)
tree0167c6840c33356ed655bb2f37549e18967f3c2a /epan/dissectors/packet-systemd-journal.c
parent829082c1917a66a007f774a5d9b98738b5ed31d0 (diff)
Make various names match the name of the systemd journal export block.
The name of the block, in the pcapng specification is the systemd Journal Export Block; add "export" after "journal" in various variable/enum/define names.
Diffstat (limited to 'epan/dissectors/packet-systemd-journal.c')
-rw-r--r--epan/dissectors/packet-systemd-journal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-systemd-journal.c b/epan/dissectors/packet-systemd-journal.c
index 2744700f7f..b96ff7bbd8 100644
--- a/epan/dissectors/packet-systemd-journal.c
+++ b/epan/dissectors/packet-systemd-journal.c
@@ -885,7 +885,7 @@ proto_register_systemd_journal(void)
init_jf_to_hf_map();
}
-#define BLOCK_TYPE_SYSTEMD_JOURNAL 0x0000009
+#define BLOCK_TYPE_SYSTEMD_JOURNAL_EXPORT 0x0000009
void
proto_reg_handoff_systemd_journal(void)
{
@@ -894,7 +894,7 @@ proto_reg_handoff_systemd_journal(void)
file_type_subtype_systemd_journal = wtap_name_to_file_type_subtype("systemd_journal");
if (file_type_subtype_systemd_journal != -1)
dissector_add_uint("wtap_fts_rec", file_type_subtype_systemd_journal, sje_handle);
- dissector_add_uint("pcapng.block_type", BLOCK_TYPE_SYSTEMD_JOURNAL, sje_handle);
+ dissector_add_uint("pcapng.block_type", BLOCK_TYPE_SYSTEMD_JOURNAL_EXPORT, sje_handle);
// It's possible to ship journal entries over HTTP/HTTPS using
// systemd-journal-remote. Dissecting them on the wire isn't very
// useful since it's easy to end up with a packet containing a