]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
child-sa: Optionally enable hardware offload for CHILD_SAs
authorTobias Brunner <tobias@strongswan.org>
Mon, 20 Jun 2016 13:27:22 +0000 (15:27 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 23 May 2017 14:55:21 +0000 (16:55 +0200)
src/libcharon/sa/child_sa.c

index a5acb8ac3f05ef9e4b82988ebd885b10770cc19c..9dd175b005314aca137a042b83b7d98a00e59be6 100644 (file)
@@ -818,6 +818,7 @@ METHOD(child_sa_t, install, status_t,
                .ipcomp = this->ipcomp,
                .cpi = cpi,
                .encap = this->encap,
+               .hw_offload = this->config->has_option(this->config, OPT_HW_OFFLOAD),
                .esn = esn,
                .initiator = initiator,
                .inbound = inbound,