summaryrefslogtreecommitdiffstats
path: root/ipset_iptree.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipset_iptree.c')
-rw-r--r--ipset_iptree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipset_iptree.c b/ipset_iptree.c
index ef85dc5..cce9884 100644
--- a/ipset_iptree.c
+++ b/ipset_iptree.c
@@ -79,7 +79,7 @@ ip_set_ip_t adt_parser(unsigned cmd, const char *optarg, void *data)
{
struct ip_set_req_iptree *mydata =
(struct ip_set_req_iptree *) data;
- char *saved = strdup(optarg);
+ char *saved = ipset_strdup(optarg);
char *ptr, *tmp = saved;
DP("iptree: %p %p", optarg, data);