summaryrefslogtreecommitdiff
path: root/isisd/isis_spf.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isis_spf.c')
-rw-r--r--isisd/isis_spf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c
index 66d4ca7e..90a9ac58 100644
--- a/isisd/isis_spf.c
+++ b/isisd/isis_spf.c
@@ -1279,7 +1279,8 @@ isis_print_paths (struct vty *vty, struct list *paths)
continue;
if (memcmp (vertex->N.id, isis->sysid, ISIS_SYS_ID_LEN) == 0)
{
- vty_out (vty, "%s --%s", host.name, VTY_NEWLINE);
+ vty_out (vty, "%s --%s", host.name?host.name:"",
+ VTY_NEWLINE);
}
else
{