Delete .hex file too, not only metadata for segmented frames
authorEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 4 Apr 2015 12:28:02 +0000 (14:28 +0200)
committerEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 4 Apr 2015 12:28:02 +0000 (14:28 +0200)
example/diameter/launcher/resources/pcap2diameterHex.sh

index ae0e163..f5150b0 100755 (executable)
@@ -152,9 +152,9 @@ for group in ${needs_join[@]}; do
 done
 
 # Delete superfluous metadata:
-echo "Deleting superfluous metadata ..."
+echo "Deleting superfluous buffers & metadata ..."
 segments=( $(cat $tmpdir/diameter_frames | awk -F\| '{ if ($6 == "") print $1 }') )
-for s in ${segments[@]}; do rm $RESULTS_DIR/$s.metadata; done
+for s in ${segments[@]}; do rm $RESULTS_DIR/$s.*; done
 
 
 _exit "Done!" 0