From b790da6df5faf7e8dfb2a950e6030fefacebc31e Mon Sep 17 00:00:00 2001 From: Eduardo Ramos Testillano Date: Sat, 4 Apr 2015 14:28:02 +0200 Subject: [PATCH] Delete .hex file too, not only metadata for segmented frames --- example/diameter/launcher/resources/pcap2diameterHex.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/diameter/launcher/resources/pcap2diameterHex.sh b/example/diameter/launcher/resources/pcap2diameterHex.sh index ae0e163..f5150b0 100755 --- a/example/diameter/launcher/resources/pcap2diameterHex.sh +++ b/example/diameter/launcher/resources/pcap2diameterHex.sh @@ -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 -- 2.20.1