mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 08:49:58 +00:00
ospf6d: fix crash when applying a route-map on a temporary route
ospf6_routemap_rule_match_interface uses route->ospf6 field for matching so we must fill the field in our temporary variable. Fixes #10911. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
f06b9fee95
commit
68618ebca8
@ -1440,6 +1440,7 @@ void ospf6_asbr_redistribute_add(int type, ifindex_t ifindex,
|
||||
/* apply route-map */
|
||||
if (ROUTEMAP(red)) {
|
||||
troute.route_option = &tinfo;
|
||||
troute.ospf6 = ospf6;
|
||||
tinfo.ifindex = ifindex;
|
||||
tinfo.tag = tag;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user