]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd, ospfd: Remove extra newline for `show debugging`
authorDonald Sharp <sharpd@nvidia.com>
Wed, 15 Jun 2022 14:32:53 +0000 (10:32 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 15 Jun 2022 14:34:30 +0000 (10:34 -0400)
This extra newline was adding a weird output to `show debugging`
display where there would be extra newlines sometims and not
others.  Make it consistent.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_debug.c
ospfd/ospf_dump.c

index 51e12cb64edd105cf2803c7ff1056ba1e296b017..8976b3b674eb00960d4e4fbaf1235920fba3a8f5 100644 (file)
@@ -2277,7 +2277,6 @@ DEFUN_NOSH (show_debugging_bgp,
        if (BGP_DEBUG(bfd, BFD_LIB))
                vty_out(vty, "  BGP BFD library debugging is on\n");
 
-       vty_out(vty, "\n");
        return CMD_SUCCESS;
 }
 
index 4d76181c6af3f1ce2acf3d857fc5672919af9b12..258a93fb16fc92943488af27f0f7c7692cd4b119 100644 (file)
@@ -1850,8 +1850,6 @@ static int show_debugging_ospf_common(struct vty *vty)
        if (IS_DEBUG_OSPF(client_api, CLIENT_API) == OSPF_DEBUG_CLIENT_API)
                vty_out(vty, "  OSPF client-api debugging is on\n");
 
-       vty_out(vty, "\n");
-
        return CMD_SUCCESS;
 }