aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-06-20 15:27:22 +0200
committerTobias Brunner <tobias@strongswan.org>2017-05-23 16:55:21 +0200
commitaeee0bcc30a2397478a1fb5f07bbff0ef2e74f2c (patch)
tree59fb7525abf1430809a1f79b0ee97ed8706d72a4
parent4a175830510f05c1e45e85f519bac6d167461d1e (diff)
downloadstrongswan-aeee0bcc30a2397478a1fb5f07bbff0ef2e74f2c.tar.bz2
strongswan-aeee0bcc30a2397478a1fb5f07bbff0ef2e74f2c.tar.xz
child-sa: Optionally enable hardware offload for CHILD_SAs
-rw-r--r--src/libcharon/sa/child_sa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcharon/sa/child_sa.c b/src/libcharon/sa/child_sa.c
index a5acb8ac3..9dd175b00 100644
--- a/src/libcharon/sa/child_sa.c
+++ b/src/libcharon/sa/child_sa.c
@@ -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,