summaryrefslogtreecommitdiff
path: root/proto/ospf/lsreq.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-12-12 01:35:51 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-12-12 01:35:51 +0100
commit28008482a97c0ac70e648759fe37bad0633ed9f7 (patch)
tree613b7083b89bbf764d1e276003a8f1633a195a67 /proto/ospf/lsreq.c
parenta421ec33cb9029899122d0ab63bab0fa268348d2 (diff)
Minor fixes in OSPF.
Diffstat (limited to 'proto/ospf/lsreq.c')
-rw-r--r--proto/ospf/lsreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c
index 5eeb06f0..e7d7af24 100644
--- a/proto/ospf/lsreq.c
+++ b/proto/ospf/lsreq.c
@@ -18,7 +18,7 @@ static void ospf_dump_lsreq(struct proto *p, struct ospf_lsreq_packet *pkt)
struct ospf_lsreq_header *plsr = (void *) (pkt + 1);
int i, j;
- j = (ntohs(op->length) - sizeof(struct ospf_dbdes_packet)) /
+ j = (ntohs(op->length) - sizeof(struct ospf_lsreq_packet)) /
sizeof(struct ospf_lsreq_header);
for (i = 0; i < j; i++)