From 31782fea7d4e2f5005c26ec71321a72da1f5c9aa Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Wed, 7 Oct 2020 16:34:27 -0400 Subject: [PATCH] bgpd: make debug evpn help use string constants Make the debug evpn help commands use evpn string constants for evpn route type info. Signed-off-by: Stephen Worley --- bgpd/bgp_debug.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index e9d7c9e8aa..3bc715fbe4 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -1402,17 +1402,17 @@ DEFPY (debug_bgp_update_prefix_afi_safi, "Specify a prefix to debug\n" L2VPN_HELP_STR EVPN_HELP_STR - "Specify EVPN Route type\n" - "MAC-IP (Type-2) route\n" + EVPN_TYPE_HELP_STR + EVPN_TYPE_2_HELP_STR MAC_STR MAC_STR MAC_STR IP_STR "IPv4 address\n" "IPv6 address\n" - "Multicast (Type-3) route\n" + EVPN_TYPE_3_HELP_STR IP_STR "IPv4 address\n" "IPv6 address\n" - "Prefix (Type-5) route\n" + EVPN_TYPE_5_HELP_STR IP_STR "IPv4 prefix\n" "IPv6 prefix\n") @@ -1466,17 +1466,17 @@ DEFPY (no_debug_bgp_update_prefix_afi_safi, "Specify a prefix to debug\n" L2VPN_HELP_STR EVPN_HELP_STR - "Specify EVPN Route type\n" - "MAC-IP (Type-2) route\n" + EVPN_TYPE_HELP_STR + EVPN_TYPE_2_HELP_STR MAC_STR MAC_STR MAC_STR IP_STR "IPv4 address\n" "IPv6 address\n" - "Multicast (Type-3) route\n" + EVPN_TYPE_3_HELP_STR IP_STR "IPv4 address\n" "IPv6 address\n" - "Prefix (Type-5) route\n" + EVPN_TYPE_5_HELP_STR IP_STR "IPv4 prefix\n" "IPv6 prefix\n") -- 2.39.5