]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: fix typo in 'show bgp neighbors' output 5900/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 3 Mar 2020 15:46:31 +0000 (16:46 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 3 Mar 2020 15:47:14 +0000 (16:47 +0100)
And fix a typo in a comment while we're at it

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
bgpd/bgp_vty.c

index 62767a603c8869b0f57ff9aa185f5d141359e0cc..86d7c94d0e5602637fd86030b2ec18bdfd197939 100644 (file)
@@ -11506,12 +11506,12 @@ static void bgp_show_peer(struct vty *vty, struct peer *p, bool use_json,
 
                                vty_out(vty, "\n");
 
-                               /* Gracefull Restart */
+                               /* Graceful Restart */
                                if (CHECK_FLAG(p->cap, PEER_CAP_RESTART_RCV)
                                    || CHECK_FLAG(p->cap,
                                                  PEER_CAP_RESTART_ADV)) {
                                        vty_out(vty,
-                                               "    Graceful Restart Capabilty:");
+                                               "    Graceful Restart Capability:");
                                        if (CHECK_FLAG(p->cap,
                                                       PEER_CAP_RESTART_ADV))
                                                vty_out(vty, " advertised");