summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_spf.h
diff options
context:
space:
mode:
authorGalaxyGorilla <sascha@netdef.org>2020-08-12 13:58:54 +0200
committerGalaxyGorilla <sascha@netdef.org>2020-08-18 12:58:50 +0200
commit3a76b1be886ba84a55eaf25bb0866b292c1ab428 (patch)
treed788d9ba5791eb5d41f18a42d082edcec0be3579 /ospfd/ospf_spf.h
parentospfd: introduce a 'dry run' into SPF code (diff)
downloadfrr-3a76b1be886ba84a55eaf25bb0866b292c1ab428.tar.xz
frr-3a76b1be886ba84a55eaf25bb0866b292c1ab428.zip
ospfd: add print helper for SPF trees and route tables
Signed-off-by: GalaxyGorilla <sascha@netdef.org>
Diffstat (limited to 'ospfd/ospf_spf.h')
-rw-r--r--ospfd/ospf_spf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_spf.h b/ospfd/ospf_spf.h
index 9bf3dc645..15c48a124 100644
--- a/ospfd/ospf_spf.h
+++ b/ospfd/ospf_spf.h
@@ -82,5 +82,7 @@ extern int ospf_spf_calculate_areas(struct ospf *ospf,
bool is_dry_run);
extern void ospf_rtrs_free(struct route_table *);
+extern void ospf_spf_print(struct vty *vty, struct vertex *v, int i);
+
/* void ospf_spf_calculate_timer_add (); */
#endif /* _QUAGGA_OSPF_SPF_H */