From 33cff8c95b2a3c5893e2f0da46c1a44d7cd15bf7 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 1 Jul 2021 01:24:08 -0700 Subject: [PATCH] wiretap: change some comments. Note that OPT_CUSTOM_STR_COPY is, specifically, a UTF-8 string. Fix the comment for OPT_CUSTOM_STR_NO_COPY to say it's a UTF-8 string, not binary data. --- wiretap/wtap_opttypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wiretap/wtap_opttypes.h b/wiretap/wtap_opttypes.h index 6dcebfca29..6a797d2b9a 100644 --- a/wiretap/wtap_opttypes.h +++ b/wiretap/wtap_opttypes.h @@ -25,9 +25,9 @@ extern "C" { /* Options for all blocks */ #define OPT_EOFOPT 0 /**< Appears in pcapng files, but not in blocks. */ #define OPT_COMMENT 1 /**< A UTF-8 string containing a human-readable comment. */ -#define OPT_CUSTOM_STR_COPY 2988 /**< A custom option containing a string, copying allowed. */ +#define OPT_CUSTOM_STR_COPY 2988 /**< A custom option containing a UTF-8 string, copying allowed. */ #define OPT_CUSTOM_BIN_COPY 2989 /**< A custom option containing binary data, copying allowed. */ -#define OPT_CUSTOM_STR_NO_COPY 19372 /**< A custom option containing binary data, copying not allowed. */ +#define OPT_CUSTOM_STR_NO_COPY 19372 /**< A custom option containing a UTF-8 string, copying not allowed. */ #define OPT_CUSTOM_BIN_NO_COPY 19373 /**< A custom option containing binary data, copying not allowed. */ /* Section Header block (SHB) */