summaryrefslogtreecommitdiff
path: root/ospfd/ospf_flood.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2019-11-26 09:48:20 -0500
committerGitHub <noreply@github.com>2019-11-26 09:48:20 -0500
commit2f7b0479e9cacadd76ccf2e5ada56b51e2e6f241 (patch)
tree5c99b31993c7ca8d83a032b92d67f6141571953e /ospfd/ospf_flood.c
parentd656cf7fd1b256d6ae4ba9ee80dd8cc95e1d7952 (diff)
parent6d24b7cc08d6c95a538415bdc58614c076f1f9a7 (diff)
Merge pull request #5408 from donaldsharp/scan7
Scan7
Diffstat (limited to 'ospfd/ospf_flood.c')
-rw-r--r--ospfd/ospf_flood.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c
index 381fb6820f..c29b464cab 100644
--- a/ospfd/ospf_flood.c
+++ b/ospfd/ospf_flood.c
@@ -328,8 +328,7 @@ int ospf_flood(struct ospf *ospf, struct ospf_neighbor *nbr,
ospf_ls_retransmit_delete_nbr_as(ospf, current);
break;
default:
- ospf_ls_retransmit_delete_nbr_area(nbr->oi->area,
- current);
+ ospf_ls_retransmit_delete_nbr_area(oi->area, current);
break;
}
}
@@ -345,7 +344,7 @@ int ospf_flood(struct ospf *ospf, struct ospf_neighbor *nbr,
procedure cannot overwrite the newly installed LSA until
MinLSArrival seconds have elapsed. */
- if (!(new = ospf_lsa_install(ospf, nbr->oi, new)))
+ if (!(new = ospf_lsa_install(ospf, oi, new)))
return -1; /* unknown LSA type or any other error condition */
/* Acknowledge the receipt of the LSA by sending a Link State