diff options
| author | Acee Lindem <acee@lindem.com> | 2024-11-15 18:58:49 +0000 | 
|---|---|---|
| committer | Acee Lindem <acee@lindem.com> | 2024-11-17 13:33:48 +0000 | 
| commit | 6afd56da969821359ee1fdfbfd33259587f58184 (patch) | |
| tree | a376d419856caef31d3aeac7dbc011313ae4ad7b /ospfd/ospf_asbr.h | |
| parent | e2314c9169e3e92d955811ed4aa9177d25e6b813 (diff) | |
ospfd: OSPF multi-instance default origination fixes
When originating a default AS-External LSA in one OSPF instance,
it wasn't working if the criteria route was installed by another OSPF
instance. This required more flexible processing of the OSPF external
route information.
Also fix problem multi-instance display for "show ip ospf
 <instance> database ...".
Signed-off-by: Acee Lindem <acee@lindem.com>
Diffstat (limited to 'ospfd/ospf_asbr.h')
| -rw-r--r-- | ospfd/ospf_asbr.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/ospfd/ospf_asbr.h b/ospfd/ospf_asbr.h index 6158d65f22..648a5a11ae 100644 --- a/ospfd/ospf_asbr.h +++ b/ospfd/ospf_asbr.h @@ -109,6 +109,10 @@ ospf_external_info_add(struct ospf *, uint8_t, unsigned short,  		       route_tag_t, uint32_t metric);  extern void ospf_external_info_delete(struct ospf *, uint8_t, unsigned short,  				      struct prefix_ipv4); +extern void ospf_external_info_delete_multi_instance(struct ospf *ospf, uint8_t type, +						     struct prefix_ipv4 p, +						     unsigned long preserve_instance); +#define OSPF_DELETE_ANY_INSTANCE 0xffffffff  extern struct external_info *ospf_external_info_lookup(struct ospf *, uint8_t,  						       unsigned short,  						       struct prefix_ipv4 *);  | 
