summaryrefslogtreecommitdiff
path: root/ospfd/ospf_zebra.h
diff options
context:
space:
mode:
authorSantosh P K <sapk@vmware.com>2020-05-03 02:25:55 -0700
committerSantosh P K <sapk@vmware.com>2020-07-07 04:53:14 -0700
commit1febb13de7926e36cca08badfd960865d25b2cc6 (patch)
tree37c3ee18a89e7f07c608a53ebc313bdc58069078 /ospfd/ospf_zebra.h
parentcba183561b53b3562ec7c4dd23115b02efc26e22 (diff)
ospf: Default-information originate with routemap
Default originate with route-map was broken. Routemap was not getting applied for redistribute route but was getting applied default route itself. No default route was originated even when routemap was satisfied. Signed-off-by: Santosh P K <sapk@vmware.com>
Diffstat (limited to 'ospfd/ospf_zebra.h')
-rw-r--r--ospfd/ospf_zebra.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ospfd/ospf_zebra.h b/ospfd/ospf_zebra.h
index 253d2e0a3f..80abf62369 100644
--- a/ospfd/ospf_zebra.h
+++ b/ospfd/ospf_zebra.h
@@ -92,5 +92,10 @@ extern int ospf_distance_unset(struct vty *, struct ospf *, const char *,
extern void ospf_zebra_init(struct thread_master *, unsigned short);
extern void ospf_zebra_vrf_register(struct ospf *ospf);
extern void ospf_zebra_vrf_deregister(struct ospf *ospf);
-
+bool ospf_external_default_routemap_apply_walk(
+ struct ospf *ospf, struct list *ext_list,
+ struct external_info *default_ei);
+int ospf_external_info_apply_default_routemap(struct ospf *ospf,
+ struct external_info *ei,
+ struct external_info *default_ei);
#endif /* _ZEBRA_OSPF_ZEBRA_H */