0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Fixes a bug in OSPF.

This commit is contained in:
Ondrej Zajicek 2010-11-03 10:04:46 +01:00
parent fcf5a4f4b3
commit d3209d939d

View File

@ -721,7 +721,7 @@ ospf_iface_change_mtu(struct proto_ospf *po, struct ospf_iface *ifa)
if (ntohs(op->length) <= ifa->iface->mtu) /* If the packet in old buffer is bigger, let it filled by zeros */
memcpy(n->ldbdes, op, ifa->iface->mtu); /* If the packet is old is same or smaller, copy it */
rfree(op);
mb_free(op);
}
}