child-cfg: Make HW offload auto mode configurable
Until now the configuration available to user for HW offload were: hw_offload = no hw_offload = yes With this commit users will be able to configure auto mode using: hw_offload = auto Signed-off-by: Adi Nissim <[email protected]> Reviewed-by: Aviv Heller <[email protected]>
This commit is contained in:
committed by
Tobias Brunner
parent
ee26f7156f
commit
8ced1570ab
@@ -888,7 +888,7 @@ static status_t install_internal(private_child_sa_t *this, chunk_t encr,
|
||||
.ipcomp = this->ipcomp,
|
||||
.cpi = cpi,
|
||||
.encap = this->encap,
|
||||
.hw_offload = this->config->has_option(this->config, OPT_HW_OFFLOAD),
|
||||
.hw_offload = this->config->get_hw_offload(this->config),
|
||||
.esn = esn,
|
||||
.initiator = initiator,
|
||||
.inbound = inbound,
|
||||
|
||||
Reference in New Issue
Block a user