]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: clear max prefix overflow on de-config
authorDewi Morgan <dewi.morgan@intl.att.com>
Thu, 14 Jan 2021 14:01:26 +0000 (14:01 +0000)
committerDewi Morgan <dewi.morgan@intl.att.com>
Thu, 14 Jan 2021 14:01:26 +0000 (14:01 +0000)
commitac4522e6216caa3c56547b55334f14dee98a72f2
tree4dcd419ce93ba36f29a10b73fa22c898cc74985d
parentbe2579c0c2922def9364ae25a507a650ce504830
bgpd: clear max prefix overflow on de-config

A bgp neighbor remains in Idle state in the event that the number
of received prefixes exceeds the configured maximum prefix for the
neighbor. The neighbor remains in idle state even after de-configuring
the maximum prefix limit for the neighbor.

The fix is to clear the neighbor overflow state if set, after
de-configuring the neighbor maximum-prefix commnd.

This allows the neighbor to establish without having to perform a
clear operation. It also avoids the misleading neigbor summary
indicating that the neighbor is in prefix overflow state (PfxCt)
when no limit is configured for the neighbor.

Signed-off-by: Dewi Morgan <dewi.morgan@intl.att.com>
bgpd/bgpd.c