]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: Send update for route with new metric
authorAlexander Rose <alexander.rose@secunet.com>
Fri, 1 Mar 2024 12:02:02 +0000 (13:02 +0100)
committerAlexander Rose <alexander.rose@secunet.com>
Fri, 1 Mar 2024 12:10:43 +0000 (13:10 +0100)
commit561ad925e9f48be9e0c71540ce8a83cfe602ab56
tree4ceaecb63b2de71f9a202f49e52543f0bb14b1c4
parentc357942069677479d5011906874c682e709b6b28
ospfd: Send update for route with new metric

When an AS-external-route is deleted on our system and later added again
with a new metric, then the ospfd would first send a LS-update to remove
the old route and later another LS-update to add the route with the new
metric again.
But when this metric-change happens with no time inbetween the ospfd
recognizes this as the same route and does not send any LS-update.
With the change made here, the ospfd will interpret this route as a
different route, when the metric has changed.

Signed-off-by: Alexander Rose <alexander.rose@secunet.com>
ospfd/ospf_asbr.c