Skip to content

Commit

Permalink
Let consumer application read packets(plain and tls) perf buffers dir…
Browse files Browse the repository at this point in the history
…ectly
  • Loading branch information
iluxa committed Dec 12, 2024
1 parent f74661e commit 2607845
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/packet/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2607845

Please sign in to comment.