summaryrefslogtreecommitdiffstats
path: root/tests/shell
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-03-20 17:38:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-03-21 14:17:49 +0100
commit675dc8b9cfb50025c964326014d2ec4d312f58ce (patch)
tree0066248b708630e99b9a1b5fee2373a7744f1776 /tests/shell
parenta6b75b837f5e851c80f8f2dc508b11f1693af1b3 (diff)
evaluate: set: Fix nested set merge size adjustment
When merging a nested set into the parent one, we are actually replacing one item with the items of the nested set. Therefore we have to remove the replaced item from size. The respective bug isn't as easy to trigger, since the size field seems to be relevant only when set elements are ranges which are checked for overlaps. Here's an example of how to trigger it: | add rule ip saddr { { 1.1.1.0/24, 3.3.3.0/24 }, 2.2.2.0/24 } Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell')
0 files changed, 0 insertions, 0 deletions