Skip to content

Review nft_options_check()

Phil Sutter netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2main: Reduce indenting in nft_options_check()src/main.c+16 -150 replies
2/2main: Refer to nft_options in nft_options_check()src/main.c+9 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [nft PATCH 0/2] Review nft_options_check()

The hard-coded list of nft options which take an argument is a maintenance burden and also needless since the information is already present in struct nft_options array.

After some indenting cleanup in patch 1, turn the list of options to compare against into a loop over nft_options' elements.

Phil Sutter (2):
main: Reduce indenting in nft_options_check()
main: Refer to nft_options in nft_options_check()

 src/main.c | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)
Signature · 1 line
2.41.0