diff options
author | Alexander Chernavin <achernavin@netgate.com> | 2023-10-17 08:54:33 +0000 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2023-10-18 21:01:03 +0000 |
commit | 6b027cfdbcb750b8aa1b8ab9a3904c1b2dca6f15 (patch) | |
tree | 7896cad6fa7cb08cd0cdb17da07941ac166e0298 /src/plugins/tlspicotls/tls_picotls.c | |
parent | 34c721fb47155135bf2173ca7b9a31aaacfde190 (diff) |
flowprobe: fix sending L4 fields in L2 template and flows
Currently, when L2 and L4 recording is enabled on the L2 datapath, the
L2 template will contain L4 fields and L2 flows will be exported with
those fields always set to zero.
With this fix, when L4 recording is enabled, add L4 fields to templates
other than the L2 template (i.e. to the IP4, IP6, L2_IP4, and L2_IP6
templates). And export L2 flows without L4 fields. Also, cover that case
in the tests.
Type: fix
Change-Id: Id5ed8b99af5634fb9d5c6e695203344782fdac01
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Diffstat (limited to 'src/plugins/tlspicotls/tls_picotls.c')
0 files changed, 0 insertions, 0 deletions