diff options
| author | Russ White <russ@riw.us> | 2018-10-12 15:55:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-12 15:55:59 -0400 |
| commit | 13e911db5f3f74bb83c6dd96081a2e0afd09cdff (patch) | |
| tree | 3825e1dd57db8585ca786d4ee67c5de5b360e83a /ospf6d/ospf6_intra.c | |
| parent | b0ecf336f3f9ccecab9931dca02b7df4fae42cf8 (diff) | |
| parent | beabf870d7eca9a6e5a4c8d32557f8e5ca2ba04b (diff) | |
Merge pull request #3167 from chiragshah6/ospfv3_dev
ospf6d: fix ospf6 crash in inp lsa processing
Diffstat (limited to 'ospf6d/ospf6_intra.c')
| -rw-r--r-- | ospf6d/ospf6_intra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c index 0ce08a61e2..7ae7d682bd 100644 --- a/ospf6d/ospf6_intra.c +++ b/ospf6d/ospf6_intra.c @@ -1729,7 +1729,7 @@ void ospf6_intra_prefix_lsa_add(struct ospf6_lsa *lsa) listnode_add_sort(route->paths, path); old = ospf6_route_lookup(&route->prefix, oa->route_table); - if (old && (ospf6_route_cmp(route, old) == 0)) { + if (old) { if (IS_OSPF6_DEBUG_EXAMIN(INTRA_PREFIX)) { prefix2str(&route->prefix, buf, sizeof(buf)); zlog_debug("%s Update route: %s old cost %u new cost %u paths %u nh %u", |
