From bb382e24f1f4a6d526e71163abf11d965e5258e2 Mon Sep 17 00:00:00 2001 From: Pat Ruddy Date: Tue, 13 Apr 2021 10:37:51 +0100 Subject: ospf6d: add warning log for late hello packets On transmit and receive calculate the time since the last hello was seen and log a warning if it is late by more than the hello period. Signed-off-by: Pat Ruddy --- ospf6d/ospf6_interface.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ospf6d/ospf6_interface.h') diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h index bbed03539d..530efc3bd2 100644 --- a/ospf6d/ospf6_interface.h +++ b/ospf6d/ospf6_interface.h @@ -121,6 +121,9 @@ struct ospf6_interface { struct ospf6_route_table *route_connected; + /* last hello sent */ + struct timeval last_hello; + /* prefix-list name to filter connected prefix */ char *plist_name; -- cgit v1.2.3