llccd/netfilter-full-cone-nat

Compile error on linux 6.1

Closed this issue · 1 comments

xt_FULLCONENAT.c:328:24: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
  328 |     start = (uint16_t)(prandom_u32() % (u32)range_size);
      |                        ^~~~~~~~~~~
      |                        prandom_u32_max
cc1: some warnings being treated as errors