]> git.ipfire.org Git - thirdparty/nftables.git/commit
evaluate: Enable automerge feature for anonymous sets
authorPhil Sutter <phil@nwl.cc>
Tue, 6 Feb 2018 18:18:47 +0000 (19:18 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 15 Feb 2018 15:29:25 +0000 (16:29 +0100)
commitfb16c8b7f795e0dba5a2acea1b156a8796e75195
treecd133f305dc4386d9622c867dd9e2ae9202e2c09
parentb6143aa55eb8efa715d2511844790dd92cdaa483
evaluate: Enable automerge feature for anonymous sets

Automatic merging of adjacent/overlapping ranges upon insertion has
clear benefits performance- and readability-wise. The drawbacks which
led to disabling it by default don't apply to anonymous sets since they
are read-only anyway, so enable this feature for them again.

Cc: Jeff Kletsky <netfilter@allycomm.com>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/evaluate.c