From 4ef4cbea6b5f52acba9f249efbf53d2ef4c9d44f Mon Sep 17 00:00:00 2001 From: Louis Scalbert Date: Thu, 13 Apr 2023 18:27:34 +0200 Subject: [PATCH] doc: fix the print iso macro documentation fix the print iso macro documentation Fixes: 7f9ab3b0bb ("lib: Add ISO System & Network format to printfrr") Signed-off-by: Louis Scalbert --- doc/developer/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/developer/logging.rst b/doc/developer/logging.rst index 2fe0a5989b..52653d3768 100644 --- a/doc/developer/logging.rst +++ b/doc/developer/logging.rst @@ -518,7 +518,7 @@ General utility formats that could be used in conjunction to snprintfrr. Use like:: char buf[ISO_ADDR_STRLEN]; - struct iso_net addr = {.len = 4, .addr = {1, 2, 3, 4}}; + struct iso_address addr = {.addr_len = 4, .area_addr = {1, 2, 3, 4}}; snprintfrr(buf, ISO_ADDR_STRLEN, "%pIS", &addr); .. frrfmt:: %pSY (uint8_t *) -- 2.39.5