diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2018-12-18 23:47:33 +0100 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-12-18 23:41:41 +0000 |
commit | afc1265b63cfd3388af2745da9c8a66cb81f2b45 (patch) | |
tree | 734f8f0c3fa1a73427ce9788ee1af9a6c373e6a5 /extcap | |
parent | 053f47fdefc9bcb36983129b77b7e1754d4304bb (diff) |
writecap: rename pcapng_write_session_block to _section_block
The pcapng file format specification speaks of a secion block, not
a session block. Let the function name reflect the proper name of
the block it writes.
Change-Id: Id399fae3648c93f4750fedaa297b18f95f2bb96f
Signed-off-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-on: https://code.wireshark.org/review/31099
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/sdjournal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/sdjournal.c b/extcap/sdjournal.c index 1431761581..ecc6cb52a5 100644 --- a/extcap/sdjournal.c +++ b/extcap/sdjournal.c @@ -209,7 +209,7 @@ static int sdj_start_export(const int start_from_entries, const gboolean start_f appname = g_strdup_printf(SDJOURNAL_EXTCAP_INTERFACE " (Wireshark) %s.%s.%s", SDJOURNAL_VERSION_MAJOR, SDJOURNAL_VERSION_MINOR, SDJOURNAL_VERSION_RELEASE); - success = pcapng_write_session_header_block(fp, + success = pcapng_write_section_header_block(fp, NULL, /* Comment */ NULL, /* HW */ NULL, /* OS */ |