Explorar o código

fixed a finished message bug with resumed sessions

cecylia %!s(int64=7) %!d(string=hai) anos
pai
achega
f8629f7c9e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      relay_station/flow.c

+ 1 - 1
relay_station/flow.c

@@ -1082,7 +1082,7 @@ int add_packet(flow *f, struct packet_info *info){
 						}
 
 						//check to see if last finished message received
-						if(f->application ==1){
+						if(f->in_encrypted ==2){
 
 #ifdef DEBUG
 							printf("Replacing info->data with finished message (%d bytes).\n", info_len);