diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-05-26 00:24:02 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-05-26 00:24:02 +0800 |
commit | d277f140ba37472640c63cae4ce2dafa4799ddfc (patch) | |
tree | 54c3b1ee46efbc8fe11222ce2853a64688a269c6 /process-packet.c | |
parent | 61267f85035c0c77059992f50ef20f62e192ba04 (diff) | |
parent | c917807b1c89b93b317d56ce2905b5d6d6468a11 (diff) |
merge rsa-sha256
Diffstat (limited to 'process-packet.c')
-rw-r--r-- | process-packet.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/process-packet.c b/process-packet.c index c3f3a76..9454160 100644 --- a/process-packet.c +++ b/process-packet.c @@ -51,8 +51,6 @@ void process_packet() { type = buf_getbyte(ses.payload); TRACE(("process_packet: packet type = %d, len %d", type, ses.payload->len)) - ses.lastpacket = type; - now = monotonic_now(); ses.last_packet_time_keepalive_recv = now; @@ -156,6 +154,7 @@ void process_packet() { recv_unimplemented(); out: + ses.lastpacket = type; buf_free(ses.payload); ses.payload = NULL; |