diff --git a/src/libcharon/sa/child_sa.c b/src/libcharon/sa/child_sa.c index a29531ccb..8f101e1ff 100644 --- a/src/libcharon/sa/child_sa.c +++ b/src/libcharon/sa/child_sa.c @@ -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,