Skip to content

Commit

Permalink
BGP: Do not error upon duplicate listen range
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vivek-cumulus committed Aug 29, 2015
1 parent e33a488 commit 57e9ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 57e9ee0

Please sign in to comment.