]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_intra.c
ospf6d: assert nh list is non-null
[mirror_frr.git] / 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,