diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2020-11-06 19:56:36 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2020-11-12 07:23:37 -0500 |
| commit | 2a99175f8d5b7fb632c73befc22771ba950adb64 (patch) | |
| tree | c2551facf55bf9430a9dfbb9d624f135fbc51afe | |
| parent | 41003736cab9900cc3145ac1cb8f39ec1f7b4391 (diff) | |
bgpd: Shorten some `show memory` strings
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>
| -rw-r--r-- | bgpd/bgp_mac.c | 2 | ||||
| -rw-r--r-- | bgpd/bgp_memory.c | 2 | ||||
| -rw-r--r-- | bgpd/bgp_nexthop.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_mac.c b/bgpd/bgp_mac.c index 265b4568e5..8e4212a5ef 100644 --- a/bgpd/bgp_mac.c +++ b/bgpd/bgp_mac.c @@ -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; diff --git a/bgpd/bgp_memory.c b/bgpd/bgp_memory.c index 8bdab16680..d8fc98e048 100644 --- a/bgpd/bgp_memory.c +++ b/bgpd/bgp_memory.c @@ -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") diff --git a/bgpd/bgp_nexthop.c b/bgpd/bgp_nexthop.c index 29cca99fd7..1a9f59db64 100644 --- a/bgpd/bgp_nexthop.c +++ b/bgpd/bgp_nexthop.c @@ -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) |
