summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-05-10 09:30:36 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-05-10 09:30:36 +0200
commit484efe6872e24727ff63fcb97047bf114524d743 (patch)
treef371b26d789076922c038244e22e99a1c67640fa /include
parent69019ebd47cb2329273571decda625f0a1cf74cb (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/libipset/data.h1
1 files changed, 1 insertions, 0 deletions
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);