]> git.puffer.fish Git - mirror/frr.git/commitdiff
bpgd: Add the end of newline of show bgp table json output 4227/head
authorFaicker Mo <faicker.mo@ucloud.cn>
Mon, 29 Apr 2019 09:28:42 +0000 (17:28 +0800)
committerFaicker Mo <faicker.mo@ucloud.cn>
Mon, 29 Apr 2019 09:28:42 +0000 (17:28 +0800)
Signed-off-by: Faicker Mo <faicker.mo@ucloud.cn>
bgpd/bgp_route.c

index 063cc24dc1bd69918e6397b14c9ba8d97a4161c7..fc6798fdfc8ff8284c1984e122367bb6f85de14d 100644 (file)
@@ -9012,6 +9012,7 @@ static int bgp_show_table(struct vty *vty, struct bgp *bgp, safi_t safi,
                        unsigned long i;
                        for (i = 0; i < *json_header_depth; ++i)
                                vty_out(vty, " } ");
+                       vty_out(vty, "\n");
                }
        } else {
                if (is_last) {