diff --git a/pkg/packet/packet.go b/pkg/packet/packet.go index 7b7a47d..fbb8309 100644 --- a/pkg/packet/packet.go +++ b/pkg/packet/packet.go @@ -45,8 +45,6 @@ type PacketSourceImpl struct { type createPollerFunc func(*ebpf.Map, bpf.RawWriter, bpf.GopacketWriter) (PacketsPoller, error) func newPacketSource(perfName string, createPoller createPollerFunc, pathNotSupported string) (PacketSource, error) { - // TODO: check file flag, that source is disabled - path := filepath.Join(bpf.PinPath, perfName) var err error