diff options
author | Jozsef Kadlecsik <kadlec@netfilter.org> | 2020-09-21 20:13:07 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@netfilter.org> | 2020-09-21 20:13:07 +0200 |
commit | 280fe2d4eecb2a546087fbf28bb45168f96d8d52 (patch) | |
tree | cd2a8bb36656b4011718c8dd69e5b75e1967bf65 /lib/debug.c | |
parent | 00e8bd9bb72eb1357aab486e314b83f93dad0d2c (diff) |
Expose the initval hash parameter to userspace
It makes possible to reproduce exactly the same set after a save/restore.
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Diffstat (limited to 'lib/debug.c')
-rw-r--r-- | lib/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debug.c b/lib/debug.c index 89073b8..bf57a41 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -35,7 +35,7 @@ static const struct ipset_attrname createattr2name[] = { [IPSET_ATTR_PROTO] = { .name = "PROTO" }, [IPSET_ATTR_CADT_FLAGS] = { .name = "CADT_FLAGS" }, [IPSET_ATTR_CADT_LINENO] = { .name = "CADT_LINENO" }, - [IPSET_ATTR_GC] = { .name = "GC" }, + [IPSET_ATTR_INITVAL] = { .name = "INITVAL" }, [IPSET_ATTR_HASHSIZE] = { .name = "HASHSIZE" }, [IPSET_ATTR_MAXELEM] = { .name = "MAXELEM" }, [IPSET_ATTR_MARKMASK] = { .name = "MARKMASK" }, |