summaryrefslogtreecommitdiffstats
path: root/lib/nexthop.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-08-02 17:42:06 +0200
committerDavid Lamparter <equinox@diac24.net>2020-03-29 10:45:46 +0200
commit07ef3e34ae0a414cefed99488abcbc167a9c0f3d (patch)
treed4e945a2c6e94d541e27d0a8bfef18f248a94f40 /lib/nexthop.h
parentMerge pull request #6101 from sarav511/vty_crash (diff)
downloadfrr-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.h4
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