diff options
| -rw-r--r-- | isisd/isis_sr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_sr.c b/isisd/isis_sr.c index af22f56f8b..f783038006 100644 --- a/isisd/isis_sr.c +++ b/isisd/isis_sr.c @@ -1020,8 +1020,6 @@ static void show_node(struct vty *vty, struct isis_area *area, int level, struct ttable *tt; char buf[128]; - vty_out(vty, " IS-IS %s SR-Nodes:\n\n", circuit_t2string(level)); - /* Prepare table. */ tt = ttable_new(&ttable_styles[TTSTYLE_BLANK]); ttable_add_row(tt, "System ID|SRGB|SRLB|Algorithm|MSD"); @@ -1062,6 +1060,8 @@ static void show_node(struct vty *vty, struct isis_area *area, int level, if (tt->nrows > 1) { char *table; + vty_out(vty, " IS-IS %s SR-Nodes:\n\n", circuit_t2string(level)); + table = ttable_dump(tt, "\n"); vty_out(vty, "%s\n", table); XFREE(MTYPE_TMP, table); |
