]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_nsm.h
Merge pull request #10655 from donaldsharp/timers_warning_when_large
[mirror_frr.git] / ospfd / ospf_nsm.h
index 24cf05009ce231b4caaba777c6988fa3f77450b4..0b40b1f424b4eed7ae09b6c9aa5e43e7f493a732 100644 (file)
@@ -40,7 +40,7 @@
 
 /* OSPF Neighbor State Machine Event. */
 #define NSM_NoEvent            0
-#define NSM_PacketReceived     1 /* HelloReceived in the protocol */
+#define NSM_HelloReceived      1 /* HelloReceived in the protocol */
 #define NSM_Start              2
 #define NSM_TwoWayReceived     3
 #define NSM_NegotiationDone    4
@@ -70,7 +70,7 @@
        thread_execute(master, ospf_nsm_event, (N), (E))
 
 /* Prototypes. */
-extern int ospf_nsm_event(struct thread *);
+extern void ospf_nsm_event(struct thread *);
 extern void ospf_check_nbr_loading(struct ospf_neighbor *);
 extern int ospf_db_summary_isempty(struct ospf_neighbor *);
 extern int ospf_db_summary_count(struct ospf_neighbor *);
@@ -78,6 +78,6 @@ extern void ospf_db_summary_clear(struct ospf_neighbor *);
 extern int nsm_should_adj(struct ospf_neighbor *nbr);
 DECLARE_HOOK(ospf_nsm_change,
             (struct ospf_neighbor * on, int state, int oldstate),
-            (on, state, oldstate))
+            (on, state, oldstate));
 
 #endif /* _ZEBRA_OSPF_NSM_H */