mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 02:30:52 +00:00
ospf6d: assert nh list is non-null
clang-analyze Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
aaf24c74e4
commit
267fa38ed3
@ -1844,6 +1844,7 @@ void ospf6_intra_prefix_lsa_remove(struct ospf6_lsa *lsa)
|
|||||||
INTRA_PREFIX)) {
|
INTRA_PREFIX)) {
|
||||||
prefix2str(&route->prefix, buf,
|
prefix2str(&route->prefix, buf,
|
||||||
sizeof(buf));
|
sizeof(buf));
|
||||||
|
assert(route->nh_list);
|
||||||
zlog_debug("%s: route %s update paths %u nh %u"
|
zlog_debug("%s: route %s update paths %u nh %u"
|
||||||
, __PRETTY_FUNCTION__,
|
, __PRETTY_FUNCTION__,
|
||||||
buf,
|
buf,
|
||||||
|
Loading…
Reference in New Issue
Block a user