diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-10-11 08:56:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 08:56:39 +0200 |
commit | afd4d90111125e35a6023a2ca27512396a57a33a (patch) | |
tree | a14bc1f87ff970951661a1e5eed73a16a6e2df72 | |
parent | Merge pull request #9998 from pguibert6WIND/bgp_tcp_keepalive (diff) | |
parent | bgpd: fix display bgp large-community exact-match (diff) | |
download | frr-afd4d90111125e35a6023a2ca27512396a57a33a.tar.xz frr-afd4d90111125e35a6023a2ca27512396a57a33a.zip |
Merge pull request #12084 from ak503/bgp_show_lc
bgpd: fix display bgp large-community exact-match
-rw-r--r-- | bgpd/bgp_route.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 3324eb73d..a07c3b331 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -12196,8 +12196,10 @@ DEFUN (show_ip_bgp_large_community, return CMD_WARNING; if (argv_find(argv, argc, "AA:BB:CC", &idx)) { - if (argv_find(argv, argc, "exact-match", &idx)) + if (argv_find(argv, argc, "exact-match", &idx)) { + argc--; exact_match = 1; + } return bgp_show_lcommunity(vty, bgp, argc, argv, exact_match, afi, safi, uj); } else |