]> git.proxmox.com Git - mirror_frr.git/commitdiff
ospf6d: assert nh list is non-null
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 11 Apr 2018 19:21:55 +0000 (15:21 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 13 Apr 2018 21:17:42 +0000 (17:17 -0400)
clang-analyze

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
ospf6d/ospf6_intra.c

index 519c5e170ff73365768b4486beaca51c07534a5c..de4ee2e1ac31c0c6f5f765240b5045f668641cd2 100644 (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,