child-sa: Optionally enable hardware offload for CHILD_SAs

This commit is contained in:
Tobias Brunner
2017-05-23 16:55:21 +02:00
parent 4a17583051
commit aeee0bcc30
+1
View 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,