]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: fix crash when displaying neighbor data in JSON
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 31 May 2021 13:27:51 +0000 (10:27 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 8 Jun 2021 14:51:12 +0000 (11:51 -0300)
commitb3d498f8b7d5367a49ff77d0fc8cd53ee7593bb8
tree02c41e6f9c0dfd4796a5c1d54ac643fd1fb64c01
parent461d106dae75e4fc449ff0565040b1d268d75f23
ospfd: fix crash when displaying neighbor data in JSON

Add a null check to protect against the case where the neighbor
inactive timer is disabled. That can happen when the router is
acting as a helper for another router that is attempting to restart
gracefully.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospfd/ospf_vty.c