diff options
author | Martin Willi <martin@revosec.ch> | 2013-09-23 12:46:43 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-10-11 10:23:17 +0200 |
commit | d53f9b9637cd35d1808e26d68b3df56c08650759 (patch) | |
tree | 09082787bc5b2af1a345a083b581b54e8e775fbe | |
parent | b08967d6d8b9377ac5cf375113c345b9b52d4f49 (diff) | |
download | strongswan-d53f9b9637cd35d1808e26d68b3df56c08650759.tar.bz2 strongswan-d53f9b9637cd35d1808e26d68b3df56c08650759.tar.xz |
kernel-libipsec: Support query_sa() to report usage statistics
-rw-r--r-- | src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c b/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c index 8e7cabcde..0e9263838 100644 --- a/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c +++ b/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c @@ -270,7 +270,8 @@ METHOD(kernel_ipsec_t, query_sa, status_t, u_int32_t spi, u_int8_t protocol, mark_t mark, u_int64_t *bytes, u_int64_t *packets, time_t *time) { - return NOT_SUPPORTED; + return ipsec->sas->query_sa(ipsec->sas, src, dst, spi, protocol, mark, + bytes, packets, time); } METHOD(kernel_ipsec_t, del_sa, status_t, |