aboutsummaryrefslogtreecommitdiffstats
path: root/writecap
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2018-12-18 23:47:33 +0100
committerGuy Harris <guy@alum.mit.edu>2018-12-18 23:41:41 +0000
commitafc1265b63cfd3388af2745da9c8a66cb81f2b45 (patch)
tree734f8f0c3fa1a73427ce9788ee1af9a6c373e6a5 /writecap
parent053f47fdefc9bcb36983129b77b7e1754d4304bb (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 'writecap')
-rw-r--r--writecap/pcapio.c2
-rw-r--r--writecap/pcapio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/writecap/pcapio.c b/writecap/pcapio.c
index 9e0d4689e6..1fbbe145b3 100644
--- a/writecap/pcapio.c
+++ b/writecap/pcapio.c
@@ -303,7 +303,7 @@ pcapng_write_block(FILE* pfile,
}
gboolean
-pcapng_write_session_header_block(FILE* pfile,
+pcapng_write_section_header_block(FILE* pfile,
const char *comment,
const char *hw,
const char *os,
diff --git a/writecap/pcapio.h b/writecap/pcapio.h
index 165850f16a..52c0fc6241 100644
--- a/writecap/pcapio.h
+++ b/writecap/pcapio.h
@@ -43,7 +43,7 @@ pcapng_write_block(FILE* pfile,
*
*/
extern gboolean
-pcapng_write_session_header_block(FILE* pfile, /**< Write information */
+pcapng_write_section_header_block(FILE* pfile, /**< Write information */
const char *comment, /**< Comment on the section, Optinon 1 opt_comment
* A UTF-8 string containing a comment that is associated to the current block.
*/