From: Donald Sharp Date: Fri, 16 Oct 2020 11:44:26 +0000 (-0400) Subject: doc: Add %pBD print formatter to doc X-Git-Tag: base_7.6~400^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F7306%2Fhead;p=mirror%2Ffrr.git doc: Add %pBD print formatter to doc Signed-off-by: Donald Sharp --- diff --git a/doc/developer/logging.rst b/doc/developer/logging.rst index 0430ad72a3..2f2444373c 100644 --- a/doc/developer/logging.rst +++ b/doc/developer/logging.rst @@ -83,6 +83,8 @@ Extensions +-----------+--------------------------+----------------------------------------------+ | ``%pNHs`` | ``struct nexthop *`` | ``1.2.3.4 if 15`` | +-----------+--------------------------+----------------------------------------------+ +| ``%pFX`` + ``struct bgp_dest *`` | ``fe80::1234/64`` available in BGP only | ++-----------+--------------------------+----------------------------------------------+ Printf features like field lengths can be used normally with these extensions, e.g. ``%-15pI4`` works correctly.