Procházet zdrojové kódy

fixed a finished message bug with resumed sessions

cecylia před 7 roky
rodič
revize
f8629f7c9e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);