Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Commit 38317c2

Browse files
authored
Hotfix reference to struct bpf_program (#77)
Signed-off-by: Maryam Tahhan <[email protected]>
1 parent 0ccf674 commit 38317c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/bpf/bpfWrapper.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ int Load_attach_bpf_xdp_pass(char *ifname) {
227227

228228
int Load_bpf_pin_xsk_map(char *ifname, char *pin_path) {
229229
struct bpf_object *obj;
230-
struct bpf_program *prog;
230+
struct xdp_program *prog;
231231
struct bpf_link *link;
232232
int ifindex, map_fd = -1;
233233
int err;

0 commit comments

Comments
 (0)