summaryrefslogtreecommitdiffstats
path: root/ipset.h
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu>2008-11-15 20:20:09 +0000
committer/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu>2008-11-15 20:20:09 +0000
commit6a5878a3748d84d95e15b9a8b018e1bfc54fc894 (patch)
tree1c5131e29dd469a07090277c82ebb582fb3aa9fa /ipset.h
parent4eec8b3824d49c1c0503ebbf7844a4e312bc29e1 (diff)
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)
Diffstat (limited to 'ipset.h')
-rw-r--r--ipset.h9
1 files changed, 5 insertions, 4 deletions
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 {