From: Stephen Worley Date: Wed, 7 Oct 2020 20:34:27 +0000 (-0400) Subject: bgpd: make debug evpn help use string constants X-Git-Tag: base_7.6~395^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=31782fea7d4e2f5005c26ec71321a72da1f5c9aa;p=matthieu%2Ffrr.git 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 --- 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")