aboutsummaryrefslogtreecommitdiffstats
path: root/src/libipsec/ipsec_sa.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-10-15 18:02:46 +0200
committerMartin Willi <martin@revosec.ch>2015-02-20 13:34:47 +0100
commitfd9417607c05ebd8dcb1e7394550b4129aa096e9 (patch)
tree2b17a601e1c778431b7626ce780ebd0da7399699 /src/libipsec/ipsec_sa.h
parent6ad787ca54ba8f51dce8311dc8bb012a04581b96 (diff)
downloadstrongswan-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.h')
-rw-r--r--src/libipsec/ipsec_sa.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libipsec/ipsec_sa.h b/src/libipsec/ipsec_sa.h
index 5e69f18cf..8dad29ac5 100644
--- a/src/libipsec/ipsec_sa.h
+++ b/src/libipsec/ipsec_sa.h
@@ -197,8 +197,6 @@ struct ipsec_sa_t {
* @param encap enable UDP encapsulation (must be TRUE)
* @param esn Extended Sequence Numbers (currently not supported)
* @param inbound TRUE if this is an inbound SA, FALSE otherwise
- * @param src_ts source traffic selector
- * @param dst_ts destination traffic selector
* @return the IPsec SA, or NULL if the creation failed
*/
ipsec_sa_t *ipsec_sa_create(u_int32_t spi, host_t *src, host_t *dst,
@@ -207,8 +205,6 @@ ipsec_sa_t *ipsec_sa_create(u_int32_t spi, host_t *src, host_t *dst,
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 encap, bool esn, bool inbound,
- traffic_selector_t *src_ts,
- traffic_selector_t *dst_ts);
+ bool encap, bool esn, bool inbound);
#endif /** IPSEC_SA_H_ @}*/