diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-12-07 12:48:59 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-11 23:01:31 +0200 |
commit | 0c9796c2f6bbd8ff359d2558dd2e4035f1b794bd (patch) | |
tree | 2fbd07995e5bd75f3526b8d2948561881c92219d /src/proto.c | |
parent | f0d0c7703c1b7eed847d1e830d8d66497f6fff62 (diff) |
evaluate: handle payload matching split in two bytes
When the bits are split between two bytes and the payload field is
smaller than one byte, we need to extend the expression length on both
sides (payload and constant) of the relational expression.
The existing trimming from the delinerization step handles the listing
for us, so no changes on that front.
This patch allows us to match the IPv6 DSCP field which falls into the
case that is described above.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/proto.c')
0 files changed, 0 insertions, 0 deletions