summaryrefslogtreecommitdiffstats
path: root/lib/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 /lib/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 'lib/table.h')
-rw-r--r--lib/table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/table.h b/lib/table.h
index 7743d5168..9cd950337 100644
--- a/lib/table.h
+++ b/lib/table.h
@@ -331,6 +331,10 @@ static inline int route_table_iter_started(route_table_iter_t *iter)
return iter->state != RT_ITER_STATE_INIT;
}
+#ifdef _FRR_ATTRIBUTE_PRINTFRR
+#pragma FRR printfrr_ext "%pRN" (struct route_node *)
+#endif
+
#ifdef __cplusplus
}
#endif