aboutsummaryrefslogtreecommitdiff
path: root/connection_handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'connection_handler.go')
-rw-r--r--connection_handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/connection_handler.go b/connection_handler.go
index 53e594f..ddf5e55 100644
--- a/connection_handler.go
+++ b/connection_handler.go
@@ -152,7 +152,7 @@ func (factory *BiDirectionalStreamFactory) New(net, transport gopacket.Flow) tcp
}
factory.mConnections.Unlock()
- streamHandler := NewStreamHandler(connection, flow, factory.takeScanner())
+ streamHandler := NewStreamHandler(connection, flow, factory.takeScanner(), net.Src() != factory.serverIP)
return &streamHandler
}