summaryrefslogtreecommitdiffstats
path: root/examples/nft-set-add.c
diff options
context:
space:
mode:
authorCarlos Falgueras García <carlosfg@riseup.net>2016-08-18 17:12:36 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-08-18 18:16:25 +0200
commit0cbe60118eafe734de7369783cf1c92f6e0934f1 (patch)
tree25788d9fbb4e1b3f6a9fcd734f72849592fa6d45 /examples/nft-set-add.c
parente35693fd13de771e1e047ffa4f799f72f1446e8d (diff)
rule: Fix comparison between rules if number of expressions differ
Before this patch, comparison between rules with distinct number of expressions indicate that they are equals, however, they are not. Example: r1[e1, e2] == r2[e1, e2, e3] Fix this by checking that the number of expression is the same. Reported-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Carlos Falgueras García <carlosfg@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples/nft-set-add.c')
0 files changed, 0 insertions, 0 deletions