]> git.droids-corp.org - dpdk.git/commit
examples/ipsec-secgw: fix NAT-T header fields
authorRadu Nicolau <radu.nicolau@intel.com>
Wed, 25 May 2022 13:59:11 +0000 (14:59 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 21 Jun 2022 18:04:49 +0000 (20:04 +0200)
commit5051dc42a193551a837f7a4c0a1726babde46ae6
treee665243d9e0398744c21cd7875baba4a64871031
parent778bbc089177f2e4cd9b3e66ec1a7940ffcab1e1
examples/ipsec-secgw: fix NAT-T header fields

Use the proper IP protocol (UDP instead of ESP) and set the ports when
UDP encapsulation is enabled.

Fixes: 9ae86b4cfc77 ("examples/ipsec-secgw: support UDP encap for inline crypto")
Cc: stable@dpdk.org
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
examples/ipsec-secgw/sa.c