summaryrefslogtreecommitdiff
path: root/proto/ospf/dbdes.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-02 20:41:33 +0000
committerOndrej Filip <feela@network.cz>2000-04-02 20:41:33 +0000
commit394acced118df7360e480920c65ca260c5b8c44f (patch)
tree8f90c12250f8856d7d38694260bcb4afdf1eaacb /proto/ospf/dbdes.c
parentdb9fb727699a6244afcff28dcc2320a3e66ee269 (diff)
Work on lsupdates continues. Some checksum cleanup.
Diffstat (limited to 'proto/ospf/dbdes.c')
-rw-r--r--proto/ospf/dbdes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/ospf/dbdes.c b/proto/ospf/dbdes.c
index ee2f96f9..c6aba363 100644
--- a/proto/ospf/dbdes.c
+++ b/proto/ospf/dbdes.c
@@ -189,11 +189,10 @@ ospf_dbdes_reqladd(struct ospf_dbdes_packet *ps, struct proto *p,
for(i=0;i<j;i++)
{
ntohlsah(plsa+i, &lsa);
- /* FIXME Test Checksum */
if(((he=ospf_hash_find(gr,lsa.id,lsa.rt,lsa.type))==NULL)||
(lsa_comp(&lsa, &(he->lsa))==1))
{
- /* Is this confition necessary? */
+ /* Is this condition necessary? */
if(ospf_hash_find(n->lsrqh,lsa.id,lsa.rt,lsa.type)==NULL)
{
sn=ospf_hash_get(n->lsrqh,lsa.id,lsa.rt,lsa.type);