[ospfd] Apply some simplifications to ospf_nsm, from Andrew's suggestions
commitf7a76abf3078bac6251d4e27f0143a9c0b14dde7
authorPaul Jakma <paul.jakma@sun.com>
Tue, 4 Jul 2006 13:57:49 +0000 (4 13:57 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Tue, 4 Jul 2006 13:57:49 +0000 (4 13:57 +0000)
tree7046a50c712642cd8b6bf05f80d41b242007c7b3
parent5db95bc2dda90dc462f77dd2610c004db685252e
[ospfd] Apply some simplifications to ospf_nsm, from Andrew's suggestions

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

* ospf_nsm.c: (general) Various small cleanups from Andrew's
  review of last set of patches.
  (nsm_timer_set) Loading, Full and default can share
  same code too.
  (nsm_should_adj) Can just be one big OR.
  (nsm_twoway_received) Collapse into return statement.
ospfd/ChangeLog
ospfd/ospf_nsm.c