mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 15:16:20 +00:00
bgpd: solve invalid error message when clearing interface peer
Problem reported that if "clear bgp swp1" is issued, an error message is received saying the name or address is malformed. This was because of a change in bgp_vty.c that removed the storing and passing of the interface name for this command. Commit that caused the problem was ac5dec7e88ce2f8cd2943bb61437046718fb34c2. Ticket: CM-25737 Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
This commit is contained in:
parent
51e75ed228
commit
8fa7d4447f
@ -7287,6 +7287,9 @@ DEFUN (clear_ip_bgp_all,
|
||||
} else if (argv_find(argv, argc, "PGNAME", &idx)) {
|
||||
clr_sort = clear_peer;
|
||||
clr_arg = argv[idx]->arg;
|
||||
} else if (argv_find(argv, argc, "WORD", &idx)) {
|
||||
clr_sort = clear_peer;
|
||||
clr_arg = argv[idx]->arg;
|
||||
} else if (argv_find(argv, argc, "(1-4294967295)", &idx)) {
|
||||
clr_sort = clear_as;
|
||||
clr_arg = argv[idx]->arg;
|
||||
|
Loading…
Reference in New Issue
Block a user