From 54802b2c28265769c2dc1b126419ac673316eb64 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Mon, 11 Sep 2017 20:07:40 +0200 Subject: Report if the option is supported by a newer kernel release Instead ot printing "Unknown argument: foo", if foo option is supported by a newer kernel release, report that. --- include/libipset/types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libipset/types.h') diff --git a/include/libipset/types.h b/include/libipset/types.h index 7f41afc..137d7ec 100644 --- a/include/libipset/types.h +++ b/include/libipset/types.h @@ -103,6 +103,8 @@ extern const struct ipset_type * ipset_type_get(struct ipset_session *session, enum ipset_cmd cmd); extern const struct ipset_type * ipset_type_check(struct ipset_session *session); +extern const struct ipset_type * + ipset_type_higher_rev(const struct ipset_type *type); extern int ipset_type_add(struct ipset_type *type); extern const struct ipset_type *ipset_types(void); -- cgit v1.2.3