summaryrefslogtreecommitdiff
path: root/src/gen_bpf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_bpf.h')
-rw-r--r--src/gen_bpf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen_bpf.h b/src/gen_bpf.h
index 43f337e..954ce7f 100644
--- a/src/gen_bpf.h
+++ b/src/gen_bpf.h
@@ -29,8 +29,8 @@
#include "system.h"
struct bpf_program {
- uint16_t blk_cnt;
bpf_instr_raw *blks;
+ uint16_t blk_cnt;
};
#define BPF_PGM_SIZE(x) \
((x)->blk_cnt * sizeof(*((x)->blks)))