ospf6d: assert nh list is non-null

clang-analyze

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2018-04-11 15:21:55 -04:00
parent aaf24c74e4
commit 267fa38ed3

View File

@ -1844,6 +1844,7 @@ void ospf6_intra_prefix_lsa_remove(struct ospf6_lsa *lsa)
INTRA_PREFIX)) {
prefix2str(&route->prefix, buf,
sizeof(buf));
assert(route->nh_list);
zlog_debug("%s: route %s update paths %u nh %u"
, __PRETTY_FUNCTION__,
buf,