diff options
author | Ondrej Filip <feela@network.cz> | 2000-03-31 01:14:41 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-03-31 01:14:41 +0000 |
commit | 9f940976d10e6295f78adf4afb1868a7ed6cac73 (patch) | |
tree | ed1c231e059741e5ac2b0a51d06d96673ec324ed /proto/ospf/lsreq.c | |
parent | f45fd3164bf2f9342e12e867f8d68c7fc77d3177 (diff) |
Some bug fixes. LSA checksum is still bad. I'll fix it later.
Diffstat (limited to 'proto/ospf/lsreq.c')
-rw-r--r-- | proto/ospf/lsreq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c index 68297184..7fa85be0 100644 --- a/proto/ospf/lsreq.c +++ b/proto/ospf/lsreq.c @@ -103,12 +103,12 @@ ospf_lsreq_rx(struct ospf_lsreq_packet *ps, struct proto *p, for(i=0;i<(length-sizeof(struct ospf_lsreq_packet))/ sizeof(struct ospf_lsreq_header);i++); { - DBG("Processing LSA: ID=%u, Type=%u, Router=%u\n", lsh->id, - ntohl(lsh->type), ntohl(lsh->rt)); + DBG("Processing LSA: ID=%u, Type=%u, Router=%u\n", ntohl(lsh->id), + lsh->type, ntohl(lsh->rt)); llsh=sl_alloc(upslab); llsh->lsh.id=ntohl(lsh->id); llsh->lsh.rt=ntohl(lsh->rt); - llsh->lsh.type=ntohl(lsh->type); + llsh->lsh.type=lsh->type; add_tail(&uplist, NODE llsh); if(ospf_hash_find(n->ifa->oa->gr, llsh->lsh.id, llsh->lsh.rt, llsh->lsh.type)==NULL) |