diff options
Diffstat (limited to 'ipset_iptree.c')
-rw-r--r-- | ipset_iptree.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ipset_iptree.c b/ipset_iptree.c index f77da19..b127c9f 100644 --- a/ipset_iptree.c +++ b/ipset_iptree.c @@ -15,14 +15,14 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <arpa/inet.h> +#include <limits.h> /* UINT_MAX */ +#include <stdio.h> /* *printf */ +#include <string.h> /* mem* */ -#include <linux/netfilter_ipv4/ip_set_iptree.h> #include "ipset.h" +#include <linux/netfilter_ipv4/ip_set_iptree.h> + #define BUFLEN 30; #define OPT_CREATE_TIMEOUT 0x01U @@ -95,7 +95,7 @@ adt_parser(unsigned cmd, const char *optarg, void *data) else mydata->timeout = 0; - free(saved); + ipset_free(saved); return 1; } |