diff --git a/pkg/network/tracer/tracer.go b/pkg/network/tracer/tracer.go index a14af8b9037b6d..6e24ad91f8484e 100644 --- a/pkg/network/tracer/tracer.go +++ b/pkg/network/tracer/tracer.go @@ -128,7 +128,7 @@ func newTracer(cfg *config.Config) (_ *Tracer, reterr error) { } // check to see if current kernel is earlier than version 4.1.0 - pre410Kernel := currKernelVersio.Code < kernel.VersionCode(4, 1, 0) + pre410Kernel := currKernelVersion.Code < kernel.VersionCode(4, 1, 0) if pre410Kernel { log.Infof("detected kernel version %s, will use kprobes from kernel version < 4.1.0", currKernelVersion.Code) }