summaryrefslogtreecommitdiffstats
path: root/lib/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parse.c')
-rw-r--r--lib/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parse.c b/lib/parse.c
index eeb253c..0ee34c3 100644
--- a/lib/parse.c
+++ b/lib/parse.c
@@ -1362,11 +1362,11 @@ ipset_parse_netmask(struct ipset_session *session,
*/
int
ipset_parse_flag(struct ipset_session *session,
- enum ipset_opt opt, const char *str UNUSED)
+ enum ipset_opt opt, const char *str)
{
assert(session);
- return ipset_session_data_set(session, opt, NULL);
+ return ipset_session_data_set(session, opt, str);
}
/**