diff options
author | David Lamparter <equinox@diac24.net> | 2019-08-02 17:42:06 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2020-03-29 10:45:46 +0200 |
commit | 07ef3e34ae0a414cefed99488abcbc167a9c0f3d (patch) | |
tree | d4e945a2c6e94d541e27d0a8bfef18f248a94f40 /lib/nexthop.h | |
parent | Merge pull request #6101 from sarav511/vty_crash (diff) | |
download | frr-07ef3e34ae0a414cefed99488abcbc167a9c0f3d.tar.xz frr-07ef3e34ae0a414cefed99488abcbc167a9c0f3d.zip |
lib: prepare for plugin-based frr_format check
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/nexthop.h')
-rw-r--r-- | lib/nexthop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h index 6710914e4..267f9f28a 100644 --- a/lib/nexthop.h +++ b/lib/nexthop.h @@ -201,6 +201,10 @@ extern struct nexthop *nexthop_dup(const struct nexthop *nexthop, extern struct nexthop *nexthop_dup_no_recurse(const struct nexthop *nexthop, struct nexthop *rparent); +#ifdef _FRR_ATTRIBUTE_PRINTFRR +#pragma FRR printfrr_ext "%pNH" (struct nexthop *) +#endif + #ifdef __cplusplus } #endif |