mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-16 17:31:58 +00:00
Revert some of the changes in be7c65eb6d
This commit is contained in:
parent
efe8e849e4
commit
08e7d786d8
@ -94,6 +94,8 @@ func (factory *tcpStreamFactory) WaitGoRoutines() {
|
||||
|
||||
func (factory *tcpStreamFactory) getStreamProps(srcIP string, dstIP string, dstPort string) *streamProps {
|
||||
if hostMode {
|
||||
// TODO: Bring back `filterAuthorities`
|
||||
return &streamProps{isTapTarget: true, isOutgoing: false}
|
||||
if inArrayString(gSettings.filterAuthorities, fmt.Sprintf("%s:%s", dstIP, dstPort)) {
|
||||
rlog.Debugf("getStreamProps %s", fmt.Sprintf("+ host1 %s:%s", dstIP, dstPort))
|
||||
return &streamProps{isTapTarget: true, isOutgoing: false}
|
||||
|
Loading…
Reference in New Issue
Block a user