diff options
| author | Martin Willi <martin@revosec.ch> | 2011-04-18 15:16:23 +0200 |
|---|---|---|
| committer | Martin Willi <martin@revosec.ch> | 2011-04-20 12:26:57 +0200 |
| commit | 4876d4f3b3c62c0203205a3c416a9a36accde3aa (patch) | |
| tree | e265756eaa304e83a9045c408c15a6f605326458 /src/pluto | |
| parent | f7925cad048f5461b229ddbe0995c7af7014847c (diff) | |
| download | strongswan-4876d4f3b3c62c0203205a3c416a9a36accde3aa.tar.bz2 strongswan-4876d4f3b3c62c0203205a3c416a9a36accde3aa.tar.xz | |
Added an esn parameter to the kernel interface add_sa functions
Diffstat (limited to 'src/pluto')
| -rw-r--r-- | src/pluto/kernel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pluto/kernel.c b/src/pluto/kernel.c index 104b6c2d4..8bed1fcfc 100644 --- a/src/pluto/kernel.c +++ b/src/pluto/kernel.c @@ -1185,7 +1185,7 @@ static bool setup_half_ipsec_sa(struct state *st, bool inbound) host_dst, ipcomp_spi, said_next->proto, c->spd.reqid, mark, 0, <_none, ENCR_UNDEFINED, chunk_empty, AUTH_UNDEFINED, chunk_empty, mode, - st->st_ipcomp.attrs.transid, 0 /* cpi */, FALSE, + st->st_ipcomp.attrs.transid, 0 /* cpi */, FALSE, FALSE, inbound, NULL, NULL) != SUCCESS) { goto fail; @@ -1294,7 +1294,7 @@ static bool setup_half_ipsec_sa(struct state *st, bool inbound) host_dst, esp_spi, said_next->proto, c->spd.reqid, mark, 0, <_none, enc_alg, enc_key, auth_alg, auth_key, mode, IPCOMP_NONE, 0 /* cpi */, - encap, inbound, NULL, NULL) != SUCCESS) + encap, FALSE, inbound, NULL, NULL) != SUCCESS) { goto fail; } @@ -1327,7 +1327,7 @@ static bool setup_half_ipsec_sa(struct state *st, bool inbound) host_dst, ah_spi, said_next->proto, c->spd.reqid, mark, 0, <_none, ENCR_UNDEFINED, chunk_empty, auth_alg, auth_key, mode, IPCOMP_NONE, 0 /* cpi */, - FALSE, inbound, NULL, NULL) != SUCCESS) + FALSE, FALSE, inbound, NULL, NULL) != SUCCESS) { goto fail; } |
