diff options
author | Christian Franke <chris@opensourcerouting.org> | 2018-07-25 11:01:59 +0200 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2018-09-05 11:38:13 +0200 |
commit | d4cff91a064b593235cf7a510e2383c8443f1fed (patch) | |
tree | 17de8b82ecbf583403bf8d853392eee40015f575 /isisd/isis_spf.c | |
parent | fabricd: implement flooding optimization (diff) | |
download | frr-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.c | 3 |
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); |