]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_nsm.c
[ospfd] trivial: NSM AdjChange should print event, declutter core functions
authorPaul Jakma <paul.jakma@sun.com>
Tue, 11 Jul 2006 17:52:53 +0000 (17:52 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Tue, 11 Jul 2006 17:52:53 +0000 (17:52 +0000)
commit3d63f38064f646129ddc67410cfdbbee8538f5cc
tree70d7eae92e0398a40e2858a7d9b3eaf8a71a6522
parent539e1523c7adfbe603535a64709e03650156c0b5
[ospfd] trivial: NSM AdjChange should print event, declutter core functions

2006-07-10 Paul Jakma <paul.jakma@sun.com>

* ospf_nsm.c: (nsm_notice_state_changes) Move state change
  logging code to new func to declutter nsm_change_state and
  ospf_nsm_event.
  Log event with AdjChange, it's useful to know.
  (nsm_change_state) move adjchange and snmp logging to previous.
  (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.
ospfd/ChangeLog
ospfd/ospf_nsm.c