Unverified Commit fb3a3d78 authored by David Levanon's avatar David Levanon Committed by GitHub
Browse files

Update tap/tcp_reader.go

Co-authored-by: default avatarM. Mert Yıldıran <mehmet@up9.com>
No related merge requests found
Showing with 0 additions and 1 deletion
+0 -1
......@@ -98,7 +98,6 @@ func (h *tcpReader) Close() {
func (h *tcpReader) run(wg *sync.WaitGroup) {
defer wg.Done()
b := bufio.NewReader(h)
// TODO: Add api.Pcap, api.Envoy and api.Linkerd distinction by refactoring NewPacketSourceManager method
err := h.extension.Dissector.Dissect(b, h.progress, h.parent.origin, h.isClient, h.tcpID, h.counterPair, h.superTimer, h.parent.superIdentifier, h.emitter, filteringOptions, h.reqResMatcher)
if err != nil {
_, err = io.Copy(ioutil.Discard, b)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment