mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 18:44:54 +00:00
BGP: Do not error upon duplicate listen range
Ticket: CM-6517 Reviewed By: Trivial Testing Done: Manual testing in 2.5-br This commit is a port of the patch bgpd-dynamic-nbr-fix-config-error.patch from 2.5-br.
This commit is contained in:
parent
e33a488048
commit
57e9ee0a94
@ -2313,7 +2313,7 @@ peer_group_listen_range_add (struct peer_group *group, struct prefix *range)
|
||||
for (ALL_LIST_ELEMENTS (group->listen_range[afi], node, nnode, prefix))
|
||||
{
|
||||
if (prefix_same(range, prefix))
|
||||
return BGP_ERR_DYNAMIC_NEIGHBORS_RANGE_EXISTS;
|
||||
return 0;
|
||||
}
|
||||
|
||||
prefix = prefix_new();
|
||||
|
Loading…
Reference in New Issue
Block a user