summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-11-03 10:04:46 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-11-03 10:04:46 +0100
commitd3209d939d4d0d8801432f212edd4302a7d03633 (patch)
tree484ea01b2cd2375ebcc6a51fe160cc2f41f26c9c /proto/ospf
parentfcf5a4f4b3e1a984f65d873e7a5a8c830b1ad9bf (diff)
Fixes a bug in OSPF.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/iface.c2
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);
}
}