]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix churn of aggregate routes from duplicate config
authorEnke Chen <enchen@paloaltonetworks.com>
Sat, 11 Jan 2025 22:01:36 +0000 (14:01 -0800)
committerEnke Chen <enchen@paloaltonetworks.com>
Sat, 11 Jan 2025 22:01:36 +0000 (14:01 -0800)
commitdaf749e93426bd7a0388572df04127297807bc9f
tree6291337da14cc58a81528d5c8e78202260b8d61a
parenta962ff78330846e64daf1ffdfab0cb78f9c7b881
bgpd: fix churn of aggregate routes from duplicate config

Currently when an aggregate-address is configured, the existing
entry is always removed regardless whether any change is involved.
This would create unnecessary churn of the aggregate route when
the same config is applied for the aggregate address.

The fix is to check for duplicate aggregate-address config.

Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
bgpd/bgp_route.c