diff options
author | hasso <hasso> | 2005-03-07 08:54:41 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-03-07 08:54:41 +0000 |
commit | 43cbdb67a8e6e0ec5b3174faadece8724ec268e4 (patch) | |
tree | 495cf11cd8793189e1e3e645d7ec78b4b251c07f /isisd | |
parent | 779e9fb5fef546ba4799db5daff45d06017be528 (diff) | |
download | quagga-43cbdb67a8e6e0ec5b3174faadece8724ec268e4.tar.bz2 quagga-43cbdb67a8e6e0ec5b3174faadece8724ec268e4.tar.xz |
* isis_spf.c: host.name might be NULL.
[backport candidate]
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/ChangeLog | 4 | ||||
-rw-r--r-- | isisd/isis_spf.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/isisd/ChangeLog b/isisd/ChangeLog index c71f0568..d7fadd0c 100644 --- a/isisd/ChangeLog +++ b/isisd/ChangeLog @@ -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 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 { |