]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: Reorder enum nft_table_type
authorPhil Sutter <phil@nwl.cc>
Tue, 7 Jul 2020 16:40:11 +0000 (18:40 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 24 Jul 2020 17:16:20 +0000 (19:16 +0200)
commit67bef1540ebdbd64f7d9dc65b76505d161536759
tree10c437318e8e8aa8323b8855b6c5fc5257a83bb9
parentb906191d4b5d2606df892855e53b0b62e53e7728
nft: Reorder enum nft_table_type

This list of table types is used internally only, the actual values
don't matter that much. Reorder them to match the order in which
iptables-legacy-save prints them (if present). As a consequence, entries
in builtin_table array 'xtables_ipv4' are correctly sorted as well.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft.h