mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
child-sa: Pass HW offload mode for policies
This commit is contained in:
parent
af1eeda08b
commit
46cfebe4ab
@ -1094,6 +1094,7 @@ static status_t install_policies_inbound(private_child_sa_t *this,
|
||||
.type = type,
|
||||
.prio = priority,
|
||||
.manual_prio = manual_prio,
|
||||
.hw_offload = this->config->get_hw_offload(this->config),
|
||||
.src = other_addr,
|
||||
.dst = my_addr,
|
||||
.sa = my_sa,
|
||||
@ -1131,6 +1132,7 @@ static status_t install_policies_outbound(private_child_sa_t *this,
|
||||
.type = type,
|
||||
.prio = priority,
|
||||
.manual_prio = manual_prio,
|
||||
.hw_offload = this->config->get_hw_offload(this->config),
|
||||
.src = my_addr,
|
||||
.dst = other_addr,
|
||||
.sa = other_sa,
|
||||
@ -1206,6 +1208,7 @@ static void del_policies_inbound(private_child_sa_t *this,
|
||||
.type = type,
|
||||
.prio = priority,
|
||||
.manual_prio = manual_prio,
|
||||
.hw_offload = this->config->get_hw_offload(this->config),
|
||||
.src = other_addr,
|
||||
.dst = my_addr,
|
||||
.sa = my_sa,
|
||||
@ -1242,6 +1245,7 @@ static void del_policies_outbound(private_child_sa_t *this,
|
||||
.type = type,
|
||||
.prio = priority,
|
||||
.manual_prio = manual_prio,
|
||||
.hw_offload = this->config->get_hw_offload(this->config),
|
||||
.src = my_addr,
|
||||
.dst = other_addr,
|
||||
.sa = other_sa,
|
||||
|
Loading…
x
Reference in New Issue
Block a user