diff options
Diffstat (limited to 'src/ipset_list_set.c')
-rw-r--r-- | src/ipset_list_set.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ipset_list_set.c b/src/ipset_list_set.c index d0b0dd6..fcb4549 100644 --- a/src/ipset_list_set.c +++ b/src/ipset_list_set.c @@ -79,8 +79,12 @@ struct ipset_type ipset_list_set0 = { | IPSET_FLAG(IPSET_OPT_BEFORE) | IPSET_FLAG(IPSET_OPT_NAMEREF) | IPSET_FLAG(IPSET_OPT_TIMEOUT), - [IPSET_DEL] = IPSET_FLAG(IPSET_OPT_NAME), - [IPSET_TEST] = IPSET_FLAG(IPSET_OPT_NAME), + [IPSET_DEL] = IPSET_FLAG(IPSET_OPT_NAME) + | IPSET_FLAG(IPSET_OPT_BEFORE) + | IPSET_FLAG(IPSET_OPT_NAMEREF), + [IPSET_TEST] = IPSET_FLAG(IPSET_OPT_NAME) + | IPSET_FLAG(IPSET_OPT_BEFORE) + | IPSET_FLAG(IPSET_OPT_NAMEREF), }, .usage = list_set_usage, |