]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Shorten some `show memory` strings 7481/head
authorDonald Sharp <sharpd@nvidia.com>
Sat, 7 Nov 2020 00:56:36 +0000 (19:56 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 12 Nov 2020 12:23:37 +0000 (07:23 -0500)
Some of the `show memory` strings in bgp are longer than the
columns we have allocated for it.  Shorten some strings to
make them fit and have the output pleasing to the eye.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_mac.c
bgpd/bgp_memory.c
bgpd/bgp_nexthop.c

index 265b4568e534854eaff84f43cc560604974c5766..8e4212a5ef653ec705f26dd6f7c0efdb2f26bdd8 100644 (file)
@@ -34,7 +34,7 @@
 #include "bgpd/bgp_evpn_private.h"
 
 DEFINE_MTYPE_STATIC(BGPD, BSM, "Mac Hash Entry");
-DEFINE_MTYPE_STATIC(BGPD, BSM_STRING, "Mac Hash Entry Interface String");
+DEFINE_MTYPE_STATIC(BGPD, BSM_STRING, "Mac Hash Entry Intf String");
 
 struct bgp_self_mac {
        struct ethaddr macaddr;
index 8bdab16680c0c6453fe8f5ecb15c7abb9b9d4c5b..d8fc98e0484209b68763f2b3abcac2b95e4d4c2a 100644 (file)
@@ -116,7 +116,7 @@ DEFINE_MTYPE(BGPD, LCOMMUNITY_STR, "Large Community display string")
 DEFINE_MTYPE(BGPD, LCOMMUNITY_VAL, "Large Community value")
 
 DEFINE_MTYPE(BGPD, BGP_EVPN, "BGP EVPN Information")
-DEFINE_MTYPE(BGPD, BGP_EVPN_MH_INFO, "BGP EVPN Multihoming Information")
+DEFINE_MTYPE(BGPD, BGP_EVPN_MH_INFO, "BGP EVPN MH Information")
 DEFINE_MTYPE(BGPD, BGP_EVPN_ES_VTEP, "BGP EVPN ES VTEP")
 DEFINE_MTYPE(BGPD, BGP_EVPN_ES_EVI_VTEP, "BGP EVPN ES-EVI VTEP")
 DEFINE_MTYPE(BGPD, BGP_EVPN_ES, "BGP EVPN ESI Information")
index 29cca99fd76410369e24490cdc855a8774241176..1a9f59db6441c7ee404f9006e3eaf3560c3734ee 100644 (file)
@@ -45,7 +45,7 @@
 #include "bgpd/bgp_vty.h"
 #include "bgpd/bgp_rd.h"
 
-DEFINE_MTYPE_STATIC(BGPD, MARTIAN_STRING, "BGP Martian Address Intf String");
+DEFINE_MTYPE_STATIC(BGPD, MARTIAN_STRING, "BGP Martian Addr Intf String");
 
 int bgp_nexthop_cache_compare(const struct bgp_nexthop_cache *a,
                              const struct bgp_nexthop_cache *b)