From e12114f2f7e4818f9b9a9a728eb6a38ebcbb2139 Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Fri, 12 Mar 2021 12:43:46 -0300 Subject: [PATCH] doc: update the FRR format table Let other developers know that we have `%pIA` to print `struct ipaddr *`. Signed-off-by: Rafael Zalamena --- doc/developer/logging.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/developer/logging.rst b/doc/developer/logging.rst index cf3aa8d17f..a35e60619c 100644 --- a/doc/developer/logging.rst +++ b/doc/developer/logging.rst @@ -71,6 +71,10 @@ Extensions +-----------+--------------------------+----------------------------------------------+ | ``%pI6`` | ``struct in6_addr *`` | ``fe80::1234`` | +-----------+--------------------------+----------------------------------------------+ +| ``%pIA`` | ``struct ipaddr *`` | ``1.2.3.4`` | +| | | | +| | | ``fe80::1234`` | ++-----------+--------------------------+----------------------------------------------+ | ``%pFX`` | ``struct prefix *`` | ``fe80::1234/64`` | +-----------+--------------------------+----------------------------------------------+ | ``%pSG4`` | ``struct prefix_sg *`` | ``(*,1.2.3.4)`` |