ike: Track NAT-keepalives as outbound packets

This commit is contained in:
Tobias Brunner
2020-06-02 13:57:37 +02:00
parent 491cdd59bd
commit 6b3bf7cdac
+1
View File
@@ -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)