diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2022-03-29 18:09:53 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2022-03-29 18:09:53 +0300 |
| commit | 68618ebca80938445959eb62e08f8ede67b53e0d (patch) | |
| tree | 247cb721099b05014dc4cea49dac1054e894775a /ospf6d | |
| parent | f06b9fee95b3b42651f6a601f1a9eda63d1d2e72 (diff) | |
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>
Diffstat (limited to 'ospf6d')
| -rw-r--r-- | ospf6d/ospf6_asbr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c index 40afd716c7..63444f8e57 100644 --- a/ospf6d/ospf6_asbr.c +++ b/ospf6d/ospf6_asbr.c @@ -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; |
