summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_table.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 /bgpd/bgp_table.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 'bgpd/bgp_table.h')
-rw-r--r--bgpd/bgp_table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_table.h b/bgpd/bgp_table.h
index 8153ddcd3..da2ca3181 100644
--- a/bgpd/bgp_table.h
+++ b/bgpd/bgp_table.h
@@ -448,4 +448,8 @@ static inline const struct prefix *bgp_node_get_prefix(struct bgp_node *node)
return &node->p;
}
+#ifdef _FRR_ATTRIBUTE_PRINTFRR
+#pragma FRR printfrr_ext "%pRN" (struct bgp_node *)
+#endif
+
#endif /* _QUAGGA_BGP_TABLE_H */