From ac86c0785ecfda135873aad0e0c74c8481318a71 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 16 Oct 2020 07:44:26 -0400 Subject: [PATCH] doc: Add %pBD print formatter to doc Signed-off-by: Donald Sharp --- doc/developer/logging.rst | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.39.5