diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-09-11 20:07:40 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-09-11 20:07:40 +0200 |
commit | 54802b2c28265769c2dc1b126419ac673316eb64 (patch) | |
tree | ff70d73320bf90e677172ef4f1b9121bd7410144 /include/libipset | |
parent | 9ccbd1c6464cf62ad5531fd1a473703f4f472840 (diff) |
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.
Diffstat (limited to 'include/libipset')
-rw-r--r-- | include/libipset/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |