diff options
| author | Pat Ruddy <pat@voltanet.io> | 2021-04-13 10:37:51 +0100 |
|---|---|---|
| committer | Pat Ruddy <pat@voltanet.io> | 2021-06-18 09:40:42 +0100 |
| commit | bb382e24f1f4a6d526e71163abf11d965e5258e2 (patch) | |
| tree | 35be821741910f4b1d881ccb6fbece73e410debf /ospf6d/ospf6_interface.h | |
| parent | 432b7daf3dbaf8bacc8fc2282185a2fd937c4c2d (diff) | |
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 <pat@voltanet.io>
Diffstat (limited to 'ospf6d/ospf6_interface.h')
| -rw-r--r-- | ospf6d/ospf6_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |
