From 484efe6872e24727ff63fcb97047bf114524d743 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 10 May 2012 09:30:36 +0200 Subject: Suppress false syntax error messages If a create command fails at the kernel side, false syntax error was also reported due to the chicken and egg problem of the family option. --- include/libipset/data.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libipset/data.h b/include/libipset/data.h index 525cc6a..5d80185 100644 --- a/include/libipset/data.h +++ b/include/libipset/data.h @@ -113,6 +113,7 @@ extern bool ipset_data_flags_test(const struct ipset_data *data, extern void ipset_data_flags_set(struct ipset_data *data, uint64_t flags); extern void ipset_data_flags_unset(struct ipset_data *data, uint64_t flags); extern bool ipset_data_ignored(struct ipset_data *data, enum ipset_opt opt); +extern bool ipset_data_test_ignored(struct ipset_data *data, enum ipset_opt opt); extern int ipset_data_set(struct ipset_data *data, enum ipset_opt opt, const void *value); -- cgit v1.2.1