diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2022-02-17 10:24:04 +0000 |
---|---|---|
committer | Rui Salvaterra <rsalvaterra@gmail.com> | 2022-02-21 23:22:06 +0000 |
commit | 4cd7d4f36bea731bf901cb067456f1d460294926 (patch) | |
tree | d2d3235a035c564e9e5cfee744eefe6215ec18df | |
parent | 50979cc9c3805a72145440299b5c78e1be25c473 (diff) | |
download | firewall3-4cd7d4f36bea731bf901cb067456f1d460294926.tar.gz |
Handled more elegantly in the previous commit.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
-rw-r--r-- | main.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -263,17 +263,6 @@ start(void) continue; } - /* Linux 5.15+: make sure the tables are loaded and - * /proc/net/ip{,6}_tables_names are thus populated. - */ - for (table = FW3_TABLE_FILTER; table <= FW3_TABLE_RAW; table++) - { - if (!(handle = fw3_ipt_open(family, table))) - continue; - - fw3_ipt_close(handle); - } - for (table = FW3_TABLE_FILTER; table <= FW3_TABLE_RAW; table++) { if (!(handle = fw3_ipt_open(family, table))) |