diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-11 21:21:55 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-13 23:17:42 +0200 |
commit | 267fa38ed36a5960e8cba5303dd3abee1ff7d7a6 (patch) | |
tree | 8ce2bd17c09c649425887ed6ce4658326c8edf8f /ospf6d/ospf6_intra.c | |
parent | babeld: be more explicit about route resize result (diff) | |
download | frr-267fa38ed36a5960e8cba5303dd3abee1ff7d7a6.tar.xz frr-267fa38ed36a5960e8cba5303dd3abee1ff7d7a6.zip |
ospf6d: assert nh list is non-null
clang-analyze
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_intra.c')
-rw-r--r-- | ospf6d/ospf6_intra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c index 519c5e170..de4ee2e1a 100644 --- a/ospf6d/ospf6_intra.c +++ b/ospf6d/ospf6_intra.c @@ -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, |