From 6a5878a3748d84d95e15b9a8b018e1bfc54fc894 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu" Date: Sat, 15 Nov 2008 20:20:09 +0000 Subject: 2.4.5 - setlist type does not work properly together with swapping sets, bug reported by Thomas Jacob. - Include linux/capability.h explicitly in ip_set.c (Jan Engelhardt) --- ipset.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ipset.h') diff --git a/ipset.h b/ipset.h index 35a2055..2596dfa 100644 --- a/ipset.h +++ b/ipset.h @@ -68,10 +68,11 @@ enum set_commands { CMD_ADT_GET, }; -/* Exit codes */ -#define OTHER_PROBLEM 1 -#define PARAMETER_PROBLEM 2 -#define VERSION_PROBLEM 3 +enum exittype { + OTHER_PROBLEM = 1, + PARAMETER_PROBLEM, + VERSION_PROBLEM +}; /* The view of an ipset in userspace */ struct set { -- cgit v1.2.3