diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-04-09 08:14:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-09 08:14:17 -0400 |
| commit | 750b1916b99423f441bedd68cba6a722e67485c7 (patch) | |
| tree | 10f3c671fdf8fb84096481860f234fb5d2a36af1 /lib/bfd.c | |
| parent | 455bc41000b7bb285ffc528e68f9146655357788 (diff) | |
| parent | 83c444220277ff40115e6fd6bdfb0cace8c52362 (diff) | |
Merge pull request #8422 from idryzhov/fix-show-ip-ospf
ospfd: fix crash on "show ip ospf neighbor detail"
Diffstat (limited to 'lib/bfd.c')
| -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(); |
