Hello

While playing with bgplg I noticed that 'show ip bgp detail as' error
message is wrong: expects an AS number but asks for a prefix.


--- bgplg.h.orig        2018-02-02 14:27:29.164112594 +0100
+++ bgplg.h     2018-02-02 14:27:55.255763632 +0100
@@ -57,7 +57,7 @@
            { BGPCTL, "show","ip", "bgp", "detail", "large-community",
NULL } },\
        { "show ip bgp detail", 1, 1, "<prefix>",                 \
            { BGPCTL, "show","ip", "bgp", "detail", NULL } },           \
-       { "show ip bgp detail as", 1, 1, "<prefix>",              \
+       { "show ip bgp detail as", 1, 1, "<asnum>",               \
            { BGPCTL, "show","ip", "bgp", "detail", "as", NULL } },     \
        { "show ip bgp in", 1, 1, "<prefix>",                     \
            { BGPCTL, "show","ip", "bgp", "in", NULL } },               \

regards,
pierre

Reply via email to