* isis_spf.c: host.name might be NULL.

[backport candidate]
This commit is contained in:
hasso 2005-03-07 08:54:41 +00:00
parent 12f6ea2300
commit c3d26c7298
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-03-07 Michael Sandee <voidptr@voidptr.sboost.org>
* isis_spf.c: host.name might be NULL.
2005-02-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* isis_main.c: (reload) Call vty_reset instead of vty_finish (both

View File

@ -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
{