diff options
| author | David Lamparter <equinox@diac24.net> | 2019-12-13 06:20:03 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2020-07-14 11:15:53 +0200 | 
| commit | 02f686fff8820c4a0a91665c5909ba33570bf716 (patch) | |
| tree | 9cd05a42e4e6e6a4083a0b6464d1d7dc22fbd1ab /lib/sockunion.h | |
| parent | dc5d01863127158ca9fc8a82fb221c7e6fb4b891 (diff) | |
lib: add %pSU for union sockunion *
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/sockunion.h')
| -rw-r--r-- | lib/sockunion.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sockunion.h b/lib/sockunion.h index 7091c1b5e7..72f12b77ca 100644 --- a/lib/sockunion.h +++ b/lib/sockunion.h @@ -103,6 +103,10 @@ extern union sockunion *sockunion_dup(const union sockunion *);  extern void sockunion_free(union sockunion *);  extern void sockunion_init(union sockunion *); +#ifdef _FRR_ATTRIBUTE_PRINTFRR +#pragma FRR printfrr_ext "%pSU"  (union sockunion *) +#endif +  #ifdef __cplusplus  }  #endif  | 
