From c896b069e6c9cd229119a791c51d19e8f11c853c Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Wed, 11 Nov 2009 20:29:31 +0100 Subject: 4.1 version released --- kernel/ip_set_ipportiphash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/ip_set_ipportiphash.c') diff --git a/kernel/ip_set_ipportiphash.c b/kernel/ip_set_ipportiphash.c index 5fe00f1..8b8f2a2 100644 --- a/kernel/ip_set_ipportiphash.c +++ b/kernel/ip_set_ipportiphash.c @@ -200,7 +200,8 @@ __ipportiphash_list_header(const struct ip_set_ipportiphash *map, HASH_LIST_HEADER(ipportiphash) HASH_LIST_MEMBERS_SIZE(ipportiphash, struct ipportip) -HASH_LIST_MEMBERS_MEMCPY(ipportiphash, struct ipportip) +HASH_LIST_MEMBERS_MEMCPY(ipportiphash, struct ipportip, + (elem->ip || elem->ip1)) IP_SET_RTYPE(ipportiphash, IPSET_TYPE_IP | IPSET_TYPE_PORT | IPSET_TYPE_IP1 | IPSET_DATA_TRIPLE) -- cgit v1.2.3