On Tue, 10 Jan 2023 17:28:45 +0530 Amit Prakash Shukla <amitpraka...@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