Revision 5f743d96 proto/ospf/lsupd.c

View differences:

proto/ospf/lsupd.c
168 168
    en=ospf_hash_find(n->ifa->oa->gr,llsh->lsh.id,llsh->lsh.rt,llsh->lsh.type);
169 169
    DBG("Sending ID=%I, Type=%u, RT=%I\n", llsh->lsh.id, llsh->lsh.type,
170 170
      llsh->lsh.rt);
171
    if((len+sizeof(struct ospf_lsa_header)+en->lsa.length)>n->ifa->iface->mtu)
171
    if((len+en->lsa.length)>n->ifa->iface->mtu)
172 172
    {
173 173
      pk->lsano=htonl(lsano);
174 174
      op->length=htons(len);

Also available in: Unified diff