projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add support for setting sysctls, remove tcp_westwood option, its not present on curre...
[project/firewall3.git]
/
main.c
diff --git
a/main.c
b/main.c
index
6eb002f
..
65de9f5
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-240,11
+240,15
@@
start(struct fw3_state *state, bool reload)
enum fw3_family family;
enum fw3_table table;
enum fw3_family family;
enum fw3_table table;
- if (!print_rules && !reload &&
- fw3_command_pipe(false, "ipset", "-exist", "-"))
+ if (!print_rules && !reload)
{
{
- fw3_create_ipsets(state);
- fw3_command_close();
+ fw3_set_defaults(state);
+
+ if (fw3_command_pipe(false, "ipset", "-exist", "-"))
+ {
+ fw3_create_ipsets(state);
+ fw3_command_close();
+ }
}
for (family = FW3_FAMILY_V4; family <= FW3_FAMILY_V6; family++)
}
for (family = FW3_FAMILY_V4; family <= FW3_FAMILY_V6; family++)