From: Tobias Brunner Date: Thu, 19 Mar 2020 10:25:37 +0000 (+0100) Subject: ike: Track NAT-keepalives as outbound packets X-Git-Tag: 5.9.0dr1~9^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b3bf7cdac0c6c954bccb915b64eeeb2a6d5d370;p=thirdparty%2Fstrongswan.git ike: Track NAT-keepalives as outbound packets --- diff --git a/src/libcharon/sa/ike_sa.c b/src/libcharon/sa/ike_sa.c index 0573bcf679..b44c157d94 100644 --- a/src/libcharon/sa/ike_sa.c +++ b/src/libcharon/sa/ike_sa.c @@ -669,6 +669,7 @@ METHOD(ike_sa_t, send_keepalive, void, packet->set_data(packet, data); DBG1(DBG_IKE, "sending keep alive to %#H", this->other_host); charon->sender->send_no_marker(charon->sender, packet); + this->stats[STAT_OUTBOUND] = now; diff = 0; } if (!this->keepalive_job)