diff options
author | Guy Harris <gharris@sonic.net> | 2021-06-17 13:52:45 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-06-17 13:52:45 -0700 |
commit | 6eb3703379e027be51636d7f173ed50843a05c34 (patch) | |
tree | 0167c6840c33356ed655bb2f37549e18967f3c2a /dumpcap.c | |
parent | 829082c1917a66a007f774a5d9b98738b5ed31d0 (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 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4552,7 +4552,7 @@ capture_loop_write_pcapng_cb(capture_src *pcap_src, const pcapng_block_header_t global_ld.go = FALSE; global_ld.err = err; pcap_src->dropped++; - } else if (bh->block_type == BLOCK_TYPE_EPB || bh->block_type == BLOCK_TYPE_SPB || bh->block_type == BLOCK_TYPE_SYSTEMD_JOURNAL) { + } else if (bh->block_type == BLOCK_TYPE_EPB || bh->block_type == BLOCK_TYPE_SPB || bh->block_type == BLOCK_TYPE_SYSTEMD_JOURNAL_EXPORT) { /* count packet only if we actually have an EPB or SPB */ #if defined(DEBUG_DUMPCAP) || defined(DEBUG_CHILD_DUMPCAP) ws_info("Wrote a pcapng block type %u of length %d captured on interface %u.", |