diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-11 15:21:55 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-13 17:17:42 -0400 |
| commit | 267fa38ed36a5960e8cba5303dd3abee1ff7d7a6 (patch) | |
| tree | 8ce2bd17c09c649425887ed6ce4658326c8edf8f /ospf6d/ospf6_intra.c | |
| parent | aaf24c74e44438a55decfc1e2f0930f800a3a650 (diff) | |
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 519c5e170f..de4ee2e1ac 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, |
