diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-11-03 10:04:46 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-11-03 10:04:46 +0100 |
commit | d3209d939d4d0d8801432f212edd4302a7d03633 (patch) | |
tree | 484ea01b2cd2375ebcc6a51fe160cc2f41f26c9c /proto | |
parent | fcf5a4f4b3e1a984f65d873e7a5a8c830b1ad9bf (diff) |
Fixes a bug in OSPF.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/ospf/iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index 04868baa..cc405274 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -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); } } |