summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-05-31 10:27:51 -0300
committerRenato Westphal <renato@opensourcerouting.org>2021-06-08 11:51:12 -0300
commitb3d498f8b7d5367a49ff77d0fc8cd53ee7593bb8 (patch)
tree02c41e6f9c0dfd4796a5c1d54ac643fd1fb64c01 /lib/compiler.h
parent461d106dae75e4fc449ff0565040b1d268d75f23 (diff)
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>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions