projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify ipset external checks and optionally initialize ispet name from external...
[project/firewall3.git]
/
utils.c
diff --git
a/utils.c
b/utils.c
index
f08443e
..
5ba5d9e
100644
(file)
--- a/
utils.c
+++ b/
utils.c
@@
-514,7
+514,7
@@
write_ipset_uci(struct uci_context *ctx, struct fw3_ipset *s,
struct uci_ptr ptr = { .p = dest };
- if (!s->enabled ||
(s->external && *s->external)
)
+ if (!s->enabled ||
s->external
)
return;
uci_add_section(ctx, dest, "ipset", &ptr.s);