diff --git a/tap/passive_tapper.go b/tap/passive_tapper.go index fbe425855..fbdb5890c 100644 --- a/tap/passive_tapper.go +++ b/tap/passive_tapper.go @@ -61,11 +61,7 @@ var anydirection = flag.Bool("anydirection", false, "Capture requests to other h var staleTimeoutSeconds = flag.Int("staletimout", 120, "Max time in seconds to keep connections which don't transmit data") var memprofile = flag.String("memprofile", "", "Write memory profile") - -// output -var HarOutputDir = flag.String("hardir", "", "Directory in which to store output har files") -var harEntriesPerFile = flag.Int("harentriesperfile", 200, "Number of max number of har entries to store in each file") - + var statsTracker = StatsTracker{} // global @@ -267,12 +263,6 @@ func startPassiveTapper(outputItems chan *api.OutputChannelItem) { } } - // if *dumpToHar { - // harWriter.Start() - // defer harWriter.Stop() - // } - // defer outboundLinkWriter.Stop() - var dec gopacket.Decoder var ok bool decoderName := *decoder