diff options
author | Matthew Smith <mgsmith@netgate.com> | 2020-11-04 11:18:10 -0600 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2020-12-11 20:03:32 +0000 |
commit | bfba2d555331ce67f707e608877e96dbd2aacd80 (patch) | |
tree | bbba7d8a489b19fb5e664a550ed5997d2e157dc3 /src/plugins/ct6/ct6_test.c | |
parent | a8ebb518445a3ee82e7d18858ea6d2f24c780abc (diff) |
nat: fix byte order on ipfix message fields
Type: fix
The code for quota exceeded events is a u32 and was being copied
into ipfix packets in host byte order. Same for the limit field.
Swap the order before copying into packet buffer.
Change-Id: I881766e1c52acc9bebde38d85228fa492214ee21
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/plugins/ct6/ct6_test.c')
0 files changed, 0 insertions, 0 deletions