commit | c3d26c72982bc95906afb58fb46f1268bc915a3b | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Mon Mar 07 08:54:41 2005 +0000 |
committer | hasso <hasso> | Mon Mar 07 08:54:41 2005 +0000 |
tree | ddc01377553107b384acef1879201d6216780fac | |
parent | 12f6ea2300402c821595297ff0c2c75055e50031 [diff] [blame] |
* isis_spf.c: host.name might be NULL. [backport candidate]
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c index 66d4ca7..90a9ac5 100644 --- a/isisd/isis_spf.c +++ b/isisd/isis_spf.c
@@ -1279,7 +1279,8 @@ 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 {