From 20a52295775126d1bd5740b6543d1ea8ea239b1b Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Wed, 31 Aug 2011 15:56:34 +0200 Subject: Propagate "expose userspace-relevant parts in ip_set.h" to ipset source With the header file restructuring, the ipset userspace enums IPSET_DIM_* clash with the kernel ones. In this patch the userspace is converted to use the kernel part enums and thus we got rid of userspace enums IPSET_DIM_*. --- src/ipset_list_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipset_list_set.c') diff --git a/src/ipset_list_set.c b/src/ipset_list_set.c index f3fa6df..68616e8 100644 --- a/src/ipset_list_set.c +++ b/src/ipset_list_set.c @@ -53,7 +53,7 @@ struct ipset_type ipset_list_set0 = { .family = AF_UNSPEC, .dimension = IPSET_DIM_ONE, .elem = { - [IPSET_DIM_ONE] = { + [IPSET_DIM_ONE - 1] = { .parse = ipset_parse_setname, .print = ipset_print_name, .opt = IPSET_OPT_NAME -- cgit v1.2.3