X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=ipsets.c;fp=ipsets.c;h=7a72fd35a378941304c8308f75f65b91ae6fc8d3;hp=03259444b564c30e582189836d1fe1e36154bbb5;hb=6039c7f4b0052c4da21520cdd604f04a5a67f50d;hpb=c328d1f6fe982888b5f5852423ee0a41cee3adb1 diff --git a/ipsets.c b/ipsets.c index 0325944..7a72fd3 100644 --- a/ipsets.c +++ b/ipsets.c @@ -239,7 +239,8 @@ fw3_load_ipsets(struct fw3_state *state, struct uci_package *p) if (!ipset) continue; - fw3_parse_options(ipset, fw3_ipset_opts, s); + if (!fw3_parse_options(ipset, fw3_ipset_opts, s)) + warn_elem(e, "has invalid options"); if (ipset->external) {