 
 (defn s-packet-reader
   "Runnable that read packets from executed command and parses it."
-  [pfdata pflastpk]
+  [config pfdata pflastpk]
   (let [command     (-> (executor/cfg) :cmd)
         proc        (run-command command)
         reader      (io/reader (.getInputStream proc))


(defn s-speed-calculator
  "Runnable that calculate speed over time of captured packets."
  [pfdata pfspeed]
  (let [calcfn (fn []
                 (doseq [[host data] (seq (deref pfdata))]
                   (dosync

(ns pfrt.pf
  (:require [clojure.java.io :as io]
            [pfrt.core :refer [IComponentLifecycle]]
            [pfrt.util :as util]
            [pfrt.executor :as executor])
  (:gen-class))
