From 62e43fd7a801e07e32527bf385e32838a82e3468 Mon Sep 17 00:00:00 2001 From: Lakshman Krishnamoorthy Date: Mon, 18 Nov 2019 18:20:21 -0800 Subject: [PATCH] bgpd: Bug fix in "show bgp l2vpn evpn X:X::X:X/M" The CLI was not parsing prefix format of ipv6 address. This fixes the bug: https://github.com/FRRouting/frr/issues/5322 Signed-off-by: Lakshman Krishnamoorthy --- bgpd/bgp_route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index a0e85eab4f..8acaf7bdd6 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -11124,7 +11124,7 @@ DEFUN (show_bgp_l2vpn_evpn_route_prefix, argv_find(argv, argc, "X:X::X:X", &idx)) network = argv[idx]->arg; else if (argv_find(argv, argc, "A.B.C.D/M", &idx) || - argv_find(argv, argc, "A.B.C.D/M", &idx)) { + argv_find(argv, argc, "X:X::X:X/M", &idx)) { network = argv[idx]->arg; prefix_check = 1; } else { -- 2.39.5