child-sa: Configure in-/outbound mark the SA should set
authorTobias Brunner <tobias@strongswan.org>
Fri, 20 Apr 2018 12:08:35 +0000 (14:08 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 31 Aug 2018 10:26:40 +0000 (12:26 +0200)
src/libcharon/sa/child_sa.c

index d06996e..efa790f 100644 (file)
@@ -890,6 +890,7 @@ static status_t install_internal(private_child_sa_t *this, chunk_t encr,
                .cpi = cpi,
                .encap = this->encap,
                .hw_offload = this->config->get_hw_offload(this->config),
+               .mark = this->config->get_set_mark(this->config, inbound),
                .esn = esn,
                .copy_df = !this->config->has_option(this->config, OPT_NO_COPY_DF),
                .copy_ecn = !this->config->has_option(this->config, OPT_NO_COPY_ECN),