]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes a bug in OSPF.
authorOndrej Zajicek <santiago@crfreenet.org>
Wed, 3 Nov 2010 09:04:46 +0000 (10:04 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 3 Nov 2010 09:04:46 +0000 (10:04 +0100)
proto/ospf/iface.c

index 04868baaf47f46e719b68b2c9797df60f815c3b8..cc40527421ba281c7705aae07652a9e6ac8859ce 100644 (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);
   }
 }