Fix linter errors

This commit is contained in:
Daniel
2020-05-20 14:53:03 +02:00
parent e65ae8b55d
commit f1765a7abb
8 changed files with 24 additions and 18 deletions

View File

@@ -39,6 +39,7 @@ var (
baseWaitTime = 3 * time.Millisecond
)
// Lookup looks for the given connection in the system state tables and returns the PID of the associated process and whether the connection is inbound.
func Lookup(pktInfo *packet.Info) (pid int, inbound bool, err error) {
// auto-detect version
if pktInfo.Version == 0 {