Fix sending packets.