mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-07 11:35:36 +00:00
do not return true in the should tap function
This commit is contained in:
parent
1dd36dc208
commit
0cfc32cb35
@ -84,8 +84,6 @@ func (factory *tcpStreamFactory) WaitGoRoutines() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (factory *tcpStreamFactory) shouldTap(dstIP string, dstPort int) bool {
|
func (factory *tcpStreamFactory) shouldTap(dstIP string, dstPort int) bool {
|
||||||
return true
|
|
||||||
|
|
||||||
if hostMode {
|
if hostMode {
|
||||||
return inArrayString(hostAppAddresses, fmt.Sprintf("%s:%d", dstIP, dstPort))
|
return inArrayString(hostAppAddresses, fmt.Sprintf("%s:%d", dstIP, dstPort))
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user