diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-12-12 01:35:51 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-12-12 01:35:51 +0100 |
commit | 28008482a97c0ac70e648759fe37bad0633ed9f7 (patch) | |
tree | 613b7083b89bbf764d1e276003a8f1633a195a67 /proto/ospf/lsreq.c | |
parent | a421ec33cb9029899122d0ab63bab0fa268348d2 (diff) |
Minor fixes in OSPF.
Diffstat (limited to 'proto/ospf/lsreq.c')
-rw-r--r-- | proto/ospf/lsreq.c | 2 |
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++) |