do not return true in the should tap function

This commit is contained in:
Roee Gadot 2021-04-29 08:23:20 +03:00
parent 1dd36dc208
commit 0cfc32cb35

View File

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