History

netfilter: ipset: Expose the initval hash parameter to userspace

It makes possible to reproduce exactly the same set after a save/restore.

Jozsef Kadlecsik committed 6 years ago

Commit 3976ca11 parent ccf0a4b14 files · +34 −17Browse files

Showing the changes to include/uapi (1 of 14 files). Show all

Unified · Split

include/uapi/linux/netfilter/ipset/ip_set.h+1−1
@@ -92,7 +92,7 @@ enum { · 91 unmodified lines
9292 /* Reserve empty slots */
9393 IPSET_ATTR_CADT_MAX = 16,
9494 /* Create-only specific attributes */
95− IPSET_ATTR_GC,
95+ IPSET_ATTR_INITVAL, /* was unused IPSET_ATTR_GC */
9696 IPSET_ATTR_HASHSIZE,
9797 IPSET_ATTR_MAXELEM,
9898 IPSET_ATTR_NETMASK,