From 0cfc32cb35b2d43feadd56f2c0556800841f9545 Mon Sep 17 00:00:00 2001 From: Roee Gadot Date: Thu, 29 Apr 2021 08:23:20 +0300 Subject: [PATCH] do not return true in the should tap function --- tap/src/tcp_stream_factory.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/tap/src/tcp_stream_factory.go b/tap/src/tcp_stream_factory.go index ae37896ef..bf69f2622 100644 --- a/tap/src/tcp_stream_factory.go +++ b/tap/src/tcp_stream_factory.go @@ -84,8 +84,6 @@ func (factory *tcpStreamFactory) WaitGoRoutines() { } func (factory *tcpStreamFactory) shouldTap(dstIP string, dstPort int) bool { - return true - if hostMode { return inArrayString(hostAppAddresses, fmt.Sprintf("%s:%d", dstIP, dstPort)) } else {