]> git.proxmox.com Git - mirror_frr.git/commit
bfdd: simplify timer data structure
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 31 Jan 2019 20:10:32 +0000 (18:10 -0200)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 14 Feb 2019 16:17:29 +0000 (14:17 -0200)
commitf43b93686fafd80ad86630327cb9dcfefbf0ee9a
tree2d3610e2a3c112f2f6d878b3350267992d43d80a
parentf78dd3a7933dfe22ad73381b71994dd82ba832a7
bfdd: simplify timer data structure

Remove some legacy left overs of the old timer data structure bits and
use a simpler version:

  We always keep the current configuration in the timer structure, but
  also keep the running timers (before poll transition) in
  `cur_timers`.

  With this we can remove `new_timers` and avoid timer copy
  configuration copy on final handler (this also simplifies peer
  show command).

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bfdd/bfd.c
bfdd/bfd.h
bfdd/bfd_packet.c
bfdd/bfdd_vty.c
bfdd/config.c