diff options
author | Mobashshera Rasool <mrasool@vmware.com> | 2021-07-14 11:07:37 +0200 |
---|---|---|
committer | Mobashshera Rasool <mrasool@vmware.com> | 2021-07-21 07:16:54 +0200 |
commit | c405b00fcf3facc46588f731fc46973331b80cff (patch) | |
tree | 03e16a515a4e428979595d623d022a6dcd45a12b /ospf6d/ospf6_asbr.h | |
parent | ospf6d: support blackhole next hops (diff) | |
download | frr-c405b00fcf3facc46588f731fc46973331b80cff.tar.xz frr-c405b00fcf3facc46588f731fc46973331b80cff.zip |
ospf6d: install summary route NULL0 as nexthop
This is a requirement for avoiding sending traffic somewhere it was not
supposed to go: install summary route to local RIB to send traffic to
Null0.
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'ospf6d/ospf6_asbr.h')
-rw-r--r-- | ospf6d/ospf6_asbr.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ospf6d/ospf6_asbr.h b/ospf6d/ospf6_asbr.h index d5c2edf09..0aa1374a4 100644 --- a/ospf6d/ospf6_asbr.h +++ b/ospf6d/ospf6_asbr.h @@ -87,6 +87,9 @@ struct ospf6_external_aggr_rt { /* Action to be done after delay timer expiry */ int action; + /* OSPFv3 route generated by summary address. */ + struct ospf6_route *route; + /* Hash table of matching external routes */ struct hash *match_extnl_hash; }; @@ -179,7 +182,5 @@ void ospf6_handle_external_lsa_origination(struct ospf6 *ospf6, void ospf6_external_aggregator_free(struct ospf6_external_aggr_rt *aggr); void ospf6_unset_all_aggr_flag(struct ospf6 *ospf6); void ospf6_fill_aggr_route_details(struct ospf6 *ospf6, - struct ospf6_external_info *ei_aggr, - struct ospf6_route *rt_aggr, - struct ospf6_external_aggr_rt *aggr); + struct ospf6_external_aggr_rt *aggr); #endif /* OSPF6_ASBR_H */ |