Don't query the policy usetime if there was no traffic on the SA.
authorTobias Brunner <tobias@strongswan.org>
Thu, 6 Aug 2009 13:14:54 +0000 (15:14 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 6 Aug 2009 13:14:54 +0000 (15:14 +0200)
commitdd83c6d490b9d293aaadf76ebf2391d138dca001
tree4477e1bb0df80ad3d651ba70844fcf04525f8615
parentb3f8ea83462ab74ece8ac4d5931a4b522a6e872b
Don't query the policy usetime if there was no traffic on the SA.

This helps in cases where a policy is assigned to more than one SA. That
is, SAs now should have different usetimes even if they use the same policy.
src/charon/sa/child_sa.c