]> git.proxmox.com Git - mirror_frr.git/commitdiff
* isis_spf.c: host.name might be NULL.
authorhasso <hasso>
Mon, 7 Mar 2005 08:54:41 +0000 (08:54 +0000)
committerhasso <hasso>
Mon, 7 Mar 2005 08:54:41 +0000 (08:54 +0000)
[backport candidate]

isisd/ChangeLog
isisd/isis_spf.c

index c71f05682ab0d1234d999621b2c16bb2a7a9fc19..d7fadd0c93072147adbc09dbd87b05c182fc1a0b 100644 (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
index 66d4ca7e3ac44296d6e42b6068edf6759e400951..90a9ac582f506114ff81b768eafdb2a53f34b8b7 100644 (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
        {