X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=ipsets.c;h=7a72fd35a378941304c8308f75f65b91ae6fc8d3;hp=993cc1f9fb07f69569dab612ec7dd6ac483aae33;hb=0a7d36d8cf56f160b531f3db9f045e3f9315dd15;hpb=bba31cce0521e014109fc805671d4cff7ee9dbf6 diff --git a/ipsets.c b/ipsets.c index 993cc1f..7a72fd3 100644 --- a/ipsets.c +++ b/ipsets.c @@ -1,7 +1,7 @@ /* * firewall3 - 3rd OpenWrt UCI firewall implementation * - * Copyright (C) 2013 Jo-Philipp Wich + * Copyright (C) 2013 Jo-Philipp Wich * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -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) {