kernel-pfkey: Pass ESN flag to kernel if ESN is enabled master
authorPatryk Duda <pdk@semihalf.com>
Tue, 17 Sep 2019 08:12:49 +0000 (08:12 +0000)
committerTobias Brunner <tobias@strongswan.org>
Mon, 14 Oct 2019 16:03:34 +0000 (18:03 +0200)
commit121390fb3cdcb51e5a81f926cc3f6118d2b1e6ab
treed1f8b13f8541f4f12c70a62e76b34c9794d94557
parent9cc24ca39e1d675014efb9ba96338bd511be682f
kernel-pfkey: Pass ESN flag to kernel if ESN is enabled

This patch adds passing the ESN flag to the kernel if ESN was negotiated
and the appropriate flag is present in the kernel headers, which will
be the case in future FreeBSD releases.

Signed-off-by: Patryk Duda <pdk@semihalf.com>
Closes strongswan/strongswan#155.
src/libcharon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c