summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsupd.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 15:56:47 +0200
committerOndrej Filip <feela@network.cz>2000-05-09 15:56:47 +0200
commit5f743d969739d6dca12b51561baac3131e160429 (patch)
tree8cf14d3cfc9b5ee4e67f669a980fe038899c868a /proto/ospf/lsupd.c
parent5d608eba1636e307624300fdd47b9024be92d39a (diff)
downloadbird-5f743d969739d6dca12b51561baac3131e160429.tar
bird-5f743d969739d6dca12b51561baac3131e160429.zip
Many bugfixes. Actually, how could this ever work? :-)
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r--proto/ospf/lsupd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index 1c1b7c4..7ea891e 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);