[ospfd] record timestamp and event of last NSM state change for neighbour
2006-07-10 Paul Jakma <paul.jakma@sun.com>
* ospf_nsm.c: (ospf_nsm_event) Record state change timestamp
and event in nbr struct.
* ospf_neighbor.h: (struct ospf_neighbor) Add fields to record
timestamp of last NSM change and event.
* ospf_vty.c: (show_ip_ospf_neighbor_detail_sub) Print
last state change timestamp and event, if available.
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog
index 79bb2bd..1564bdb 100644
--- a/ospfd/ChangeLog
+++ b/ospfd/ChangeLog
@@ -22,6 +22,11 @@
(ospf_nsm_event) call nsm_notice_state_changes from here.
Move the debug message to entry of function, so it gets out
even if something goes wrong.
+ Record state change timestamp and event in nbr struct.
+ * ospf_neighbor.h: (struct ospf_neighbor) Add fields to record
+ timestamp of last NSM change and event.
+ * ospf_vty.c: (show_ip_ospf_neighbor_detail_sub) Print
+ last state change timestamp and event, if available.
2006-07-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>