[PATCH v1 1/3] pcapng: comment option support for epb
Stephen Hemminger
stephen at networkplumber.org
Tue Jan 10 18:05:00 CET 2023
On Tue, 10 Jan 2023 17:28:45 +0530
Amit Prakash Shukla <amitprakashs at marvell.com> wrote:
> @@ -548,6 +552,11 @@ rte_pcapng_copy(uint16_t port_id, uint32_t queue,
> &hash_opt, sizeof(hash_opt));
> }
>
> + if (comment) {
> + opt = pcapng_add_option(opt, PCAPNG_OPT_COMMENT, comment,
> + strlen(comment));
> + }
> +
Minor style nit. Do not add bracket on single statement if clause
More information about the dev
mailing list