Fixes a bug in OSPF.
This commit is contained in:
parent
fcf5a4f4b3
commit
d3209d939d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue