summaryrefslogtreecommitdiff
path: root/process-packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'process-packet.c')
-rw-r--r--process-packet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/process-packet.c b/process-packet.c
index f9f6dee..3e6b79c 100644
--- a/process-packet.c
+++ b/process-packet.c
@@ -50,6 +50,8 @@ void process_packet() {
type = buf_getbyte(ses.payload);
TRACE(("process_packet: packet type = %d", type));
+ ses.lastpacket = type;
+
/* These packets we can receive at any time */
switch(type) {