]> git.proxmox.com Git - mirror_frr.git/blobdiff - isisd/isis_dynhn.c
Merge pull request #12698 from Orange-OpenSource/isisd
[mirror_frr.git] / isisd / isis_dynhn.c
index 446e52201998c3068aae4bce3c2078c4c225b728..61c49d08a742af88b924940594941561ffba9bd8 100644 (file)
@@ -145,12 +145,10 @@ void dynhn_print_all(struct vty *vty, struct isis *isis)
        vty_out(vty, "Level  System ID      Dynamic Hostname\n");
        for (ALL_LIST_ELEMENTS_RO(isis->dyn_cache, node, dyn)) {
                vty_out(vty, "%-7d", dyn->level);
-               vty_out(vty, "%-15s%-15s\n", sysid_print(dyn->id),
-                       dyn->hostname);
+               vty_out(vty, "%pSY %-15s\n", dyn->id, dyn->hostname);
        }
 
-       vty_out(vty, "     * %s %s\n", sysid_print(isis->sysid),
-               cmd_hostname_get());
+       vty_out(vty, "     * %pSY %s\n", isis->sysid, cmd_hostname_get());
        return;
 }