From 9f940976d10e6295f78adf4afb1868a7ed6cac73 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Fri, 31 Mar 2000 01:14:41 +0000 Subject: Some bug fixes. LSA checksum is still bad. I'll fix it later. --- proto/ospf/lsreq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'proto/ospf/lsreq.c') diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c index 6829718..7fa85be 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) -- cgit v1.2.3