From 77ae557f809e0f8cb33d1514934fe3876c6fd798 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Mon, 31 Jan 2011 23:32:51 +0100 Subject: Separate ipset errnos completely from system ones and bump protocol version. --- include/libipset/linux_ip_set.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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 * Patrick Schaaf * Martin Josefsson - * Copyright (C) 2003-2010 Jozsef Kadlecsik + * Copyright (C) 2003-2011 Jozsef Kadlecsik * * 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 */ -- cgit v1.2.3