From e12affc15deaf8eb2f698057286a9e4f2a40ca09 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Fri, 30 Oct 2020 16:14:40 -0400 Subject: [PATCH] bgpd: fix help for ipv6 under distance src command We were missing the help docstring for IPV6 under the distance src command in for bgp. ``` [root@alfred frr-2]# /usr/lib/frr/bgpd --log stdout --log-level debug 2020/10/30 16:02:26 BGP: Ran out of docstring while parsing '[no] distance (1-255) $prefix [WORD$acl]' 2020/10/30 16:02:26 BGP: Ran out of docstring while parsing '[no] distance (1-255) $prefix [WORD$acl]' 2020/10/30 16:02:26 BGP: Ran out of docstring while parsing '[no] distance (1-255) $prefix [WORD$acl]' 2020/10/30 16:02:26 BGP: Ran out of docstring while parsing '[no] distance (1-255) $prefix [WORD$acl]' 2020/10/30 16:02:26 BGP: Ran out of docstring while parsing '[no] distance (1-255) $prefix [WORD$acl]' ``` Signed-off-by: Stephen Worley --- bgpd/bgp_route.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index da1fabf985..7281785d61 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -13822,7 +13822,8 @@ DEFPY_YANG(bgp_distance_source, NO_STR "Define an administrative distance\n" "Distance value\n" - "IP source prefix\n" + "IPv4 source prefix\n" + "IPv6 source prefix\n" "Access list name\n") { afi_t afi; -- 2.39.5