summaryrefslogtreecommitdiffstats
path: root/doc/developer
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-04-14 15:05:47 +0200
committerGitHub <noreply@github.com>2023-04-14 15:05:47 +0200
commita5304577ca749ac53ce2a37351c4db122f202c86 (patch)
treed9f9e62ddcdca272b1d7ac6dd959db78c7541494 /doc/developer
parentMerge pull request #13301 from opensourcerouting/fix/crash_bgp_received_routes (diff)
parentdoc: fix the print iso macro documentation (diff)
downloadfrr-a5304577ca749ac53ce2a37351c4db122f202c86.tar.xz
frr-a5304577ca749ac53ce2a37351c4db122f202c86.zip
Merge pull request #13300 from louis-6wind/iso_doc
doc: fix the print iso macro documentation
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 *)