From: Stephen Worley Date: Fri, 30 Oct 2020 20:14:40 +0000 (-0400) Subject: bgpd: fix help for ipv6 under distance src command X-Git-Tag: base_7.6~328^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=e12affc15deaf8eb2f698057286a9e4f2a40ca09;p=matthieu%2Ffrr.git 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 --- 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;