diff options
author | David Lamparter <equinox@diac24.net> | 2021-03-02 21:39:49 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2021-03-30 22:32:59 +0200 |
commit | bb12115e0be449df92af6294fc8410eb7745be26 (patch) | |
tree | 7af5c27a1dab37717eb942d93212948d53249232 /lib/printfrr.h | |
parent | lib: add `%pVA` recursive printfrr (diff) | |
download | frr-bb12115e0be449df92af6294fc8410eb7745be26.tar.xz frr-bb12115e0be449df92af6294fc8410eb7745be26.zip |
lib: add `%pFB` extension to print struct fbuf *
Useful to insert output from another bprintfrr() call.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to '')
-rw-r--r-- | lib/printfrr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/printfrr.h b/lib/printfrr.h index 6ca4d963c..8ea8fd69a 100644 --- a/lib/printfrr.h +++ b/lib/printfrr.h @@ -259,6 +259,7 @@ struct va_format { }; #ifdef _FRR_ATTRIBUTE_PRINTFRR +#pragma FRR printfrr_ext "%pFB" (struct fbuf *) #pragma FRR printfrr_ext "%pVA" (struct va_format *) #endif |