summaryrefslogtreecommitdiffstats
path: root/doc/developer
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2023-04-13 18:27:34 +0200
committerLouis Scalbert <louis.scalbert@6wind.com>2023-04-13 18:27:34 +0200
commit4ef4cbea6b5f52acba9f249efbf53d2ef4c9d44f (patch)
tree6dd094bacab8d18ff038e85124708db63968881a /doc/developer
parentMerge pull request #13097 from AbhishekNR/mroute (diff)
downloadfrr-4ef4cbea6b5f52acba9f249efbf53d2ef4c9d44f.tar.xz
frr-4ef4cbea6b5f52acba9f249efbf53d2ef4c9d44f.zip
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 <louis.scalbert@6wind.com>
Diffstat (limited to 'doc/developer')
-rw-r--r--doc/developer/logging.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/developer/logging.rst b/doc/developer/logging.rst
index 2fe0a5989..52653d376 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 *)