diff options
author | Donald Sharp <sharpd@nvidia.com> | 2020-10-16 13:44:26 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2020-10-17 14:52:35 +0200 |
commit | ac86c0785ecfda135873aad0e0c74c8481318a71 (patch) | |
tree | dd7544f8e426a843f009af41b09e84737aa5eac1 /doc/developer/logging.rst | |
parent | bgpd: Use bgp_dest_get_prefix accessor function (diff) | |
download | frr-ac86c0785ecfda135873aad0e0c74c8481318a71.tar.xz frr-ac86c0785ecfda135873aad0e0c74c8481318a71.zip |
doc: Add %pBD print formatter to doc
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'doc/developer/logging.rst')
-rw-r--r-- | doc/developer/logging.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/developer/logging.rst b/doc/developer/logging.rst index 0430ad72a..2f2444373 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. |