summaryrefslogtreecommitdiffstats
path: root/include/libipset
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-31 23:32:51 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-31 23:32:51 +0100
commit77ae557f809e0f8cb33d1514934fe3876c6fd798 (patch)
tree88826594907754ad9a11d0227a8f6b24b95ae266 /include/libipset
parent8dd419e75bbddecfae682a2175ac785ce59a0e30 (diff)
Separate ipset errnos completely from system ones and bump protocol version.
Diffstat (limited to 'include/libipset')
-rw-r--r--include/libipset/linux_ip_set.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libipset/linux_ip_set.h b/include/libipset/linux_ip_set.h
index 1fb7ea2..d81a811 100644
--- a/include/libipset/linux_ip_set.h
+++ b/include/libipset/linux_ip_set.h
@@ -4,7 +4,7 @@
/* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu>
* Patrick Schaaf <bof@bof.de>
* Martin Josefsson <gandalf@wlug.westbo.se>
- * Copyright (C) 2003-2010 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
+ * Copyright (C) 2003-2011 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -12,7 +12,7 @@
*/
/* The protocol version */
-#define IPSET_PROTOCOL 5
+#define IPSET_PROTOCOL 6
/* The max length of strings including NUL: set and type identifiers */
#define IPSET_MAXNAMELEN 32
@@ -118,7 +118,7 @@ enum {
/* Error codes */
enum ipset_errno {
- IPSET_ERR_PRIVATE = 128,
+ IPSET_ERR_PRIVATE = 4096,
IPSET_ERR_PROTOCOL,
IPSET_ERR_FIND_TYPE,
IPSET_ERR_MAX_SETS,
@@ -135,7 +135,7 @@ enum ipset_errno {
IPSET_ERR_IPADDR_IPV6,
/* Type specific error codes */
- IPSET_ERR_TYPE_SPECIFIC = 160,
+ IPSET_ERR_TYPE_SPECIFIC = 4352,
};
/* Flags at command level */