diff --git a/bpf_progs/block.c b/bpf_progs/block.c index d734b74d54..5bf3fe1d0f 100644 --- a/bpf_progs/block.c +++ b/bpf_progs/block.c @@ -24,8 +24,8 @@ #include "bpf_helpers.h" -#define ALLOW 1 -#define DISALLOW 0 +static const int ALLOW = 1; +static const int DISALLOW = 0; DEFINE_BPF_MAP_GRW(blocked_ports_map, ARRAY, int, uint64_t, 1024 /* 64K ports -> 1024 u64s */, AID_SYSTEM)