diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-06-29 21:14:40 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-06-29 21:14:40 +0200 |
commit | 8dd10256cb24ceade8b40bd1604f03ddac8589e2 (patch) | |
tree | 9b6e5deae0b5d349122c82b63019d6bb36a66aeb /lib/types.c | |
parent | 780f6384c5c6639da3f5a6ac8d30653e8a26d6c0 (diff) |
ipset 5: Sparc related and compatibility fixesv5.0-pre5
ipset 5 is tested on Sparc, which revealed some compatibility issues
and those are fixed. Kernels from 2.6.31 onward are supported.
The testsuite checkings are completed to run match/target checks.
The README file is updated to reflect the requirements to install
and run ipset 5.
Diffstat (limited to 'lib/types.c')
-rw-r--r-- | lib/types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.c b/lib/types.c index b39a04f..067abcb 100644 --- a/lib/types.c +++ b/lib/types.c @@ -404,7 +404,7 @@ ipset_type_check(struct ipset_session *session) typename = ipset_data_get(data, IPSET_OPT_TYPENAME); family = ipset_data_family(data); - revision = *(uint8_t *) ipset_data_get(data, IPSET_OPT_REVISION); + revision = *(const uint8_t *) ipset_data_get(data, IPSET_OPT_REVISION); /* Check registered types */ for (t = typelist; t != NULL && match == NULL; t = t->next) { |