diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-16 16:13:01 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-16 16:13:01 +0300 |
| commit | eb91f8d6d714a4bbcaa3f80e0e70564ff15a4216 (patch) | |
| tree | 7c45f5249f43e099cb82d74c26529be2d08bcde0 /lib/typesafe.c | |
| parent | c845358213872f1ec7b4e2c431fc62de353ff7ab (diff) | |
bgpd: Add a sanitify check for bgp_nexthop_cache against NULL
In real world sometimes happens that bgp_nexthop_cache is NULL. Avoid
segfaulting when using `show [ip] bgp ...` CLI commands.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/typesafe.c')
0 files changed, 0 insertions, 0 deletions
