[nft PATCH 0/2] Review nft_options_check()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.41.0





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux