diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-03-23 18:37:48 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-03-25 12:00:20 +0100 |
commit | a3c2edb19c7e557b5116692cf44ce925569b95f0 (patch) | |
tree | 8cea8cde32c687352b1d3b664c3a0b9ce20e725d /src/libtnccs/plugins/tnccs_20/tnccs_20_handler.h | |
parent | 70728eb1b6005fe6e400e5df3534ed7087acc380 (diff) | |
download | strongswan-a3c2edb19c7e557b5116692cf44ce925569b95f0.tar.bz2 strongswan-a3c2edb19c7e557b5116692cf44ce925569b95f0.tar.xz |
kernel-netlink: Copy current usage stats to new SA in update_sa()
This is needed to fix usage stats sent via RADIUS Accounting if clients
use MOBIKE or e.g. the kernel notifies us about a changed NAT mapping.
The upper layers won't expect the stats to get reset if only the IPs have
changed (and some kernel interface might actually allow such updates
without reset).
It also fixes traffic based lifetimes in such situations.
Fixes #799.
Diffstat (limited to 'src/libtnccs/plugins/tnccs_20/tnccs_20_handler.h')
0 files changed, 0 insertions, 0 deletions