diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-09 13:56:47 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-09 13:56:47 +0000 |
commit | 5f743d969739d6dca12b51561baac3131e160429 (patch) | |
tree | 8cf14d3cfc9b5ee4e67f669a980fe038899c868a /proto/ospf/lsupd.c | |
parent | 5d608eba1636e307624300fdd47b9024be92d39a (diff) |
Many bugfixes. Actually, how could this ever work? :-)
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r-- | proto/ospf/lsupd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index 1c1b7c42..7ea891e6 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -168,7 +168,7 @@ ospf_lsupd_tx_list(struct ospf_neighbor *n, list *l) en=ospf_hash_find(n->ifa->oa->gr,llsh->lsh.id,llsh->lsh.rt,llsh->lsh.type); DBG("Sending ID=%I, Type=%u, RT=%I\n", llsh->lsh.id, llsh->lsh.type, llsh->lsh.rt); - if((len+sizeof(struct ospf_lsa_header)+en->lsa.length)>n->ifa->iface->mtu) + if((len+en->lsa.length)>n->ifa->iface->mtu) { pk->lsano=htonl(lsano); op->length=htons(len); |