[PATCH v8 1/8] pcapng: correct typo in comment

Stephen Hemminger
2026-02-16T21:43:25Z

Minor spelling typo.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
lib/pcapng/rte_pcapng.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pcapng/rte_pcapng.c b/lib/pcapng/rte_pcapng.c
index 2cc9e2040d..5789c2cdca 100644
--- a/lib/pcapng/rte_pcapng.c
+++ b/lib/pcapng/rte_pcapng.c
@@ -309,7 +309,7 @@ rte_pcapng_add_interface(rte_pcapng_t *self, uint16_t port, uint16_t link_type,

opt = pcapng_add_option(opt, PCAPNG_OPT_END, NULL, 0);

- /* clone block_length after optionsa */
+ /* clone block_length after options */
memcpy(opt, &hdr->block_length, sizeof(uint32_t));

/* remember the file index */
--
2.51.0