summaryrefslogtreecommitdiffstats
path: root/ipset_ipportiphash.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2009-05-16 21:10:02 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2009-05-16 21:10:02 +0200
commit027dc5fb9021ce3f814a345b17c56d899733569a (patch)
tree0639dc5b91b3a98036ee7b8122fb508c78a92d7d /ipset_ipportiphash.c
parent40cb9382148104e0f68891b5cb3e5dc1a04250fa (diff)
ipset 3.0 releasev3.0
The main change is full bigendian and 64/32bit enviroment support - in consequence the kernel-userspace protocol version was bumped.
Diffstat (limited to 'ipset_ipportiphash.c')
-rw-r--r--ipset_ipportiphash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipset_ipportiphash.c b/ipset_ipportiphash.c
index f445d73..22a92ef 100644
--- a/ipset_ipportiphash.c
+++ b/ipset_ipportiphash.c
@@ -253,7 +253,7 @@ printheader(struct set *set, unsigned options)
}
static void
-printips(struct set *set, void *data, size_t len, unsigned options)
+printips(struct set *set, void *data, u_int32_t len, unsigned options)
{
struct ip_set_ipportiphash *mysetdata = set->settype->header;
size_t offset = 0;
@@ -292,7 +292,7 @@ saveheader(struct set *set, unsigned options)
/* Print save for an IP */
static void
-saveips(struct set *set, void *data, size_t len, unsigned options)
+saveips(struct set *set, void *data, u_int32_t len, unsigned options)
{
struct ip_set_ipportiphash *mysetdata = set->settype->header;
size_t offset = 0;