mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-27 13:33:26 +00:00
stop tapping self tapper traffic (#1083)
* stop tapping self tapper traffic * run go mod tidy * allow to explicitly ignore ports * remove unused code * remove shared from tap + go mod tidy * move ignroe ports to tapper * rename TapperPacketsCount to IgnoredPacketsCount * don't check null - go is smart * remove nil check
This commit is contained in:
@@ -152,7 +152,9 @@ func runInTapperMode() {
|
||||
}
|
||||
|
||||
hostMode := os.Getenv(shared.HostModeEnvVar) == "1"
|
||||
tapOpts := &tap.TapOpts{HostMode: hostMode}
|
||||
tapOpts := &tap.TapOpts{
|
||||
HostMode: hostMode,
|
||||
}
|
||||
|
||||
filteredOutputItemsChannel := make(chan *tapApi.OutputChannelItem)
|
||||
|
||||
|
Reference in New Issue
Block a user