diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2023-04-13 18:27:34 +0200 |
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2023-04-13 18:27:34 +0200 |
| commit | 4ef4cbea6b5f52acba9f249efbf53d2ef4c9d44f (patch) | |
| tree | 6dd094bacab8d18ff038e85124708db63968881a /doc/developer | |
| parent | 635d65e2c8984f7f1f5bbc0064e0c8564070d7a1 (diff) | |
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.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 *) |
