diff options
author | Martin Willi <martin@revosec.ch> | 2014-10-15 18:02:46 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2015-02-20 13:34:47 +0100 |
commit | fd9417607c05ebd8dcb1e7394550b4129aa096e9 (patch) | |
tree | 2b17a601e1c778431b7626ce780ebd0da7399699 /src/libipsec/ipsec_sa_mgr.c | |
parent | 6ad787ca54ba8f51dce8311dc8bb012a04581b96 (diff) | |
download | strongswan-fd9417607c05ebd8dcb1e7394550b4129aa096e9.tar.bz2 strongswan-fd9417607c05ebd8dcb1e7394550b4129aa096e9.tar.xz |
libipsec: Remove unused src/dst_ts parameters from ipsec_sa_mgr_t.add_sa()
Diffstat (limited to 'src/libipsec/ipsec_sa_mgr.c')
-rw-r--r-- | src/libipsec/ipsec_sa_mgr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libipsec/ipsec_sa_mgr.c b/src/libipsec/ipsec_sa_mgr.c index d1850b048..3496fc79c 100644 --- a/src/libipsec/ipsec_sa_mgr.c +++ b/src/libipsec/ipsec_sa_mgr.c @@ -439,8 +439,7 @@ METHOD(ipsec_sa_mgr_t, add_sa, status_t, u_int8_t protocol, u_int32_t reqid, mark_t mark, u_int32_t tfc, lifetime_cfg_t *lifetime, u_int16_t enc_alg, chunk_t enc_key, u_int16_t int_alg, chunk_t int_key, ipsec_mode_t mode, u_int16_t ipcomp, - u_int16_t cpi, bool initiator, bool encap, bool esn, bool inbound, - traffic_selector_t *src_ts, traffic_selector_t *dst_ts) + u_int16_t cpi, bool initiator, bool encap, bool esn, bool inbound) { ipsec_sa_entry_t *entry; ipsec_sa_t *sa_new; @@ -454,7 +453,7 @@ METHOD(ipsec_sa_mgr_t, add_sa, status_t, sa_new = ipsec_sa_create(spi, src, dst, protocol, reqid, mark, tfc, lifetime, enc_alg, enc_key, int_alg, int_key, mode, - ipcomp, cpi, encap, esn, inbound, src_ts, dst_ts); + ipcomp, cpi, encap, esn, inbound); if (!sa_new) { DBG1(DBG_ESP, "failed to create SAD entry"); |