From 38317c256b5c7dfb39e013a0f76010c2ded03669 Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Wed, 18 Oct 2023 13:24:13 +0100 Subject: [PATCH] Hotfix reference to struct bpf_program (#77) Signed-off-by: Maryam Tahhan --- internal/bpf/bpfWrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bpf/bpfWrapper.c b/internal/bpf/bpfWrapper.c index 87b6708..131e67f 100644 --- a/internal/bpf/bpfWrapper.c +++ b/internal/bpf/bpfWrapper.c @@ -227,7 +227,7 @@ int Load_attach_bpf_xdp_pass(char *ifname) { int Load_bpf_pin_xsk_map(char *ifname, char *pin_path) { struct bpf_object *obj; - struct bpf_program *prog; + struct xdp_program *prog; struct bpf_link *link; int ifindex, map_fd = -1; int err;