kernel-netlink: Set selector on transport mode IPComp SAs
authorTobias Brunner <tobias@strongswan.org>
Thu, 7 Nov 2013 20:02:07 +0000 (21:02 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 23 Jan 2014 09:27:13 +0000 (10:27 +0100)
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c

index 8287f9d..24f15d9 100644 (file)
@@ -1214,7 +1214,7 @@ METHOD(kernel_ipsec_t, add_sa, status_t,
                add_sa(this, src, dst, htonl(ntohs(cpi)), IPPROTO_COMP, reqid, mark,
                           tfc, &lft, ENCR_UNDEFINED, chunk_empty, AUTH_UNDEFINED,
                           chunk_empty, mode, ipcomp, 0, initiator, FALSE, FALSE, inbound,
-                          NULL, NULL);
+                          src_ts, dst_ts);
                ipcomp = IPCOMP_NONE;
                /* use transport mode ESP SA, IPComp uses tunnel mode */
                mode = MODE_TRANSPORT;