Merge pull request #15460 from Max-Mustermann33/route-metric-update

ospfd: Send update for route with new metric
This commit is contained in:
Russ White 2024-03-05 08:45:45 -05:00 committed by GitHub
commit 0bc1c70f65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 */
}