summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_lsa.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-07-29 12:27:25 +0200
committerDavid Lamparter <equinox@diac24.net>2019-08-02 11:29:03 +0200
commitfa3c7c7e95638fcafef24fffcd0c49f1b11cc64d (patch)
tree30a2e1660dd70b3c3f44f33bcdeeddf87e5a036e /ospfd/ospf_lsa.h
parentospfd: remove t_external_lsa (diff)
downloadfrr-fa3c7c7e95638fcafef24fffcd0c49f1b11cc64d.tar.xz
frr-fa3c7c7e95638fcafef24fffcd0c49f1b11cc64d.zip
ospfd: kill totally misnamed "timers"
Neither ospf_external_lsa_originate_timer() nor ospf_default_originate_timer() are actually timers. They're only executed on router-ID changes to refresh a particular LSA type. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ospfd/ospf_lsa.h')
-rw-r--r--ospfd/ospf_lsa.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ospfd/ospf_lsa.h b/ospfd/ospf_lsa.h
index 5e3dabc27..4551b83d7 100644
--- a/ospfd/ospf_lsa.h
+++ b/ospfd/ospf_lsa.h
@@ -275,8 +275,7 @@ extern struct in_addr ospf_get_ip_from_ifp(struct ospf_interface *);
extern struct ospf_lsa *ospf_external_lsa_originate(struct ospf *,
struct external_info *);
-extern int ospf_external_lsa_originate_timer(struct thread *);
-extern int ospf_default_originate_timer(struct thread *);
+extern void ospf_external_lsa_rid_change(struct ospf *ospf);
extern struct ospf_lsa *ospf_lsa_lookup(struct ospf *ospf, struct ospf_area *,
uint32_t, struct in_addr,
struct in_addr);