summaryrefslogtreecommitdiffstats
path: root/isisd/isis_spf.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-07-25 11:01:59 +0200
committerChristian Franke <chris@opensourcerouting.org>2018-09-05 11:38:13 +0200
commitd4cff91a064b593235cf7a510e2383c8443f1fed (patch)
tree17de8b82ecbf583403bf8d853392eee40015f575 /isisd/isis_spf.c
parentfabricd: implement flooding optimization (diff)
downloadfrr-d4cff91a064b593235cf7a510e2383c8443f1fed.tar.xz
frr-d4cff91a064b593235cf7a510e2383c8443f1fed.zip
fabricd: add flooding algorithm debugging
Add a command `debug openfabric flooding` to allow verification of correct operation of the OpenFabric flooding optimization algorithm. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_spf.c')
-rw-r--r--isisd/isis_spf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c
index 225ef22ec..25e2d43ce 100644
--- a/isisd/isis_spf.c
+++ b/isisd/isis_spf.c
@@ -162,8 +162,7 @@ static const char *vtype2string(enum vertextype vtype)
return NULL; /* Not reached */
}
-#define VID2STR_BUFFER SRCDEST2STR_BUFFER
-static const char *vid2string(struct isis_vertex *vertex, char *buff, int size)
+const char *vid2string(struct isis_vertex *vertex, char *buff, int size)
{
if (VTYPE_IS(vertex->type) || VTYPE_ES(vertex->type)) {
return print_sys_hostname(vertex->N.id);