projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
firewall3: Improve ipset support
[project/firewall3.git]
/
utils.c
diff --git
a/utils.c
b/utils.c
index fc6bbd7a3ec82d93f66aaf051bcfe556f1f98573..147acf8b3707b5b06488d360ad7543b4723c6934 100644
(file)
--- a/
utils.c
+++ b/
utils.c
@@
-585,6
+585,11
@@
write_ipset_uci(struct uci_context *ctx, struct fw3_ipset *s,
ptr.value = s->name;
uci_set(ctx, &ptr);
+ ptr.o = NULL;
+ ptr.option = "reload_set";
+ ptr.value = s->reload_set ? "true" : "false";
+ uci_set(ctx, &ptr);
+
ptr.o = NULL;
ptr.option = "storage";
ptr.value = fw3_ipset_method_names[s->method];