mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 23:20:13 +00:00
zebra: copy MTU from non static routes into nexthop
Some routing protocols advertise route MTU (e.g. NHRP), with this patch installed routes in the kernel have the advertised MTU. Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
This commit is contained in:
parent
7733c6c419
commit
43e3130587
@ -505,6 +505,8 @@ static int nexthop_active(afi_t afi, struct route_entry *re,
|
||||
}
|
||||
resolved = 1;
|
||||
}
|
||||
if (resolved && set)
|
||||
re->nexthop_mtu = match->mtu;
|
||||
return resolved;
|
||||
} else if (re->type == ZEBRA_ROUTE_STATIC) {
|
||||
resolved = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user