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:
parent
fcf5a4f4b3
commit
d3209d939d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user