X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=utils.c;fp=utils.c;h=5ba5d9e3c9c51edf321325b836f8d842048a3674;hp=f08443ea8177dc07f4a96f59d3903f96710199bd;hb=78e134ba7cdc473e7cdf0422b863579ac700ac13;hpb=3488eecf1a5d9baa1808eaea7670a7aa2931e1ad diff --git a/utils.c b/utils.c index f08443e..5ba5d9e 100644 --- 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);