]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_nsm.c
[ospfd] Clear adjacency state for NSM changes down to TwoWay/ExStart
authorPaul Jakma <paul.jakma@sun.com>
Tue, 4 Jul 2006 13:50:44 +0000 (13:50 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Tue, 4 Jul 2006 13:50:44 +0000 (13:50 +0000)
commitd1b1cd8fb9309d89f10b95d59fb5b1420248895d
treebd88ec34a464f7d2ea3427982e1516fb45683f57
parente55dd53bca98a032a583950320cc1367a0685bee
[ospfd] Clear adjacency state for NSM changes down to TwoWay/ExStart

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

* ospf_nsm.c: (nsm_clear_adj) clear adjacency related state for a
  neighbour, needed for some state changes from > ExStart down
  to ExStart or less, which need not go through nsm_reset_nbr.
  (nsm_reset_nbr) move code to former. Should be static.
  (ospf_nsm_event) Remove long dead code.
  Use nsm_clear_adj for state changes that take down
  adjacencies to TwoWay/ExStart.
  (nsm_kill_nbr) Oops, action function shouldn't try return
  1 for error.
ospfd/ChangeLog
ospfd/ospf_nsm.c