Skip to content

Commit

Permalink
Merge pull request #15460 from Max-Mustermann33/route-metric-update
Browse files Browse the repository at this point in the history
ospfd: Send update for route with new metric
  • Loading branch information
riw777 authored Mar 5, 2024
2 parents 018fad7 + 561ad92 commit 0bc1c70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ospfd/ospf_asbr.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ ospf_external_info_add(struct ospf *ospf, uint8_t type, unsigned short instance,
new = rn->info;
if ((new->ifindex == ifindex)
&& (new->nexthop.s_addr == nexthop.s_addr)
&& (new->tag == tag)) {
&& (new->tag == tag)
&& (new->metric == metric)) {
route_unlock_node(rn);
return NULL; /* NULL => no LSA to refresh */
}
Expand Down

0 comments on commit 0bc1c70

Please sign in to comment.