mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 12:41:21 +00:00
Merge pull request #15460 from Max-Mustermann33/route-metric-update
ospfd: Send update for route with new metric
This commit is contained in:
commit
0bc1c70f65
@ -110,7 +110,8 @@ ospf_external_info_add(struct ospf *ospf, uint8_t type, unsigned short instance,
|
|||||||
new = rn->info;
|
new = rn->info;
|
||||||
if ((new->ifindex == ifindex)
|
if ((new->ifindex == ifindex)
|
||||||
&& (new->nexthop.s_addr == nexthop.s_addr)
|
&& (new->nexthop.s_addr == nexthop.s_addr)
|
||||||
&& (new->tag == tag)) {
|
&& (new->tag == tag)
|
||||||
|
&& (new->metric == metric)) {
|
||||||
route_unlock_node(rn);
|
route_unlock_node(rn);
|
||||||
return NULL; /* NULL => no LSA to refresh */
|
return NULL; /* NULL => no LSA to refresh */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user