remove unused and commented lines that are not relevant

This commit is contained in:
Roee Gadot
2021-08-26 18:46:57 +03:00
parent a44f426955
commit b583108c26

View File

@@ -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