diff options
| author | David Lamparter <equinox@diac24.net> | 2020-03-29 11:39:12 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2020-07-14 11:15:57 +0200 |
| commit | bd0ab4d80aa026d065b93bc066a5b2e88a14970a (patch) | |
| tree | 5b16d70d5329fb94a2771cb123a08320b6db9b96 /lib/prefix.h | |
| parent | 02f686fff8820c4a0a91665c5909ba33570bf716 (diff) | |
lib: add %pEA for struct ethaddr *
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/prefix.h')
| -rw-r--r-- | lib/prefix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prefix.h b/lib/prefix.h index 0bd457cc23..53e9dc3cb3 100644 --- a/lib/prefix.h +++ b/lib/prefix.h @@ -555,6 +555,8 @@ static inline int is_default_host_route(const struct prefix *p) } #ifdef _FRR_ATTRIBUTE_PRINTFRR +#pragma FRR printfrr_ext "%pEA" (struct ethaddr *) + #pragma FRR printfrr_ext "%pI4" (struct in_addr *) #pragma FRR printfrr_ext "%pI4" (in_addr_t *) |
