summaryrefslogtreecommitdiffstats
path: root/src/netlink_linearize.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-03-07 21:05:56 +0100
committerFlorian Westphal <fw@strlen.de>2016-03-10 14:08:35 +0100
commitf0b32f868a43345c77b3852ed0b3fb0d5856bed4 (patch)
tree7183780252585a13da1e6212fc90d24ebb0e7276 /src/netlink_linearize.c
parentebb0dd15731d2782b6ade1a0904c2c8890e5b5aa (diff)
nft-test: don't zap remainder of rule after handling a set
Don't delete the part after the set, i.e. given chain input { type filter hook input priority 0; policy accept; vlan id { 1, 2, 4, 100, 4095} vlan pcp 1-3 } don't remove the vlan pcp 1-3 part. This exposes following bug: bridge/vlan.t: WARNING: line: 32: 'nft add rule --debug=netlink bridge test-bridge input vlan id { 1, 2, 4, 100, 4095 } vlan pcp 1-3': 'vlan id { 1, 2, 4, 100, 4095 } vlan pcp 1-3' mismatches 'vlan id { 4, 1, 2, 4095, 100} vlan pcp 0-0' We do not shift the range, so on reverse translation we get a 0-0 output. The bug will be fixes in a followup commit. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/netlink_linearize.c')
0 files changed, 0 insertions, 0 deletions