diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2021-04-08 01:14:34 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-04-09 10:24:51 +0200 |
commit | 83c444220277ff40115e6fd6bdfb0cace8c52362 (patch) | |
tree | adc1252a4526bea456db9727a2482a0fc404e5ad /lib/bfd.c | |
parent | Merge pull request #8405 from mjstapp/skip_backup_lsps (diff) | |
download | frr-83c444220277ff40115e6fd6bdfb0cace8c52362.tar.xz frr-83c444220277ff40115e6fd6bdfb0cace8c52362.zip |
ospfd: fix crash on "show ip ospf neighbor detail"
Fixes #8419.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to '')
-rw-r--r-- | lib/bfd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -988,6 +988,9 @@ void bfd_sess_show(struct vty *vty, struct json_object *json, json_object *json_bfd = NULL; char time_buf[64]; + if (!bsp) + return; + /* Show type. */ if (json) { json_bfd = json_object_new_object(); |