Fixed bug when allocating IP over IP packets.