]> git.proxmox.com Git - mirror_frr.git/commit - ripngd/ripng_northbound.c
ripngd: retrofit the 'timer basic' command to the new northbound model
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 29 Nov 2018 13:21:13 +0000 (11:21 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 3 Dec 2018 15:47:58 +0000 (13:47 -0200)
commitf8981ec5963576270e6a6c25149c84aac6b4f457
tree86e825eecce28e71c5660e6199609f27c1176cbe
parent6fc293855457baf848b05fcf30b2ffeddb43445f
ripngd: retrofit the 'timer basic' command to the new northbound model

Trivial conversion. Use the northbound 'apply_finish()' callback
so we'll call ripng_event() only once even if we change the three
RIPng timers at the same time.

Convert the timers to uint16_t to match their representation in
the YANG model.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ripngd/ripng_cli.c
ripngd/ripng_cli.h
ripngd/ripng_northbound.c
ripngd/ripngd.c
ripngd/ripngd.h