From: Eduardo Ramos Testillano Date: Wed, 15 Apr 2015 14:21:26 +0000 (+0200) Subject: omit sequence hby e2e from metadata X-Git-Tag: REFACTORING_TESTING_LIBRARY~160 X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=commitdiff_plain;h=93e7a6cbe436523ea98de0d960e48a41e787bfc4 omit sequence hby e2e from metadata --- diff --git a/example/diameter/launcher/resources/pcap2diameterHex.sh b/example/diameter/launcher/resources/pcap2diameterHex.sh index a318974..355b70f 100755 --- a/example/diameter/launcher/resources/pcap2diameterHex.sh +++ b/example/diameter/launcher/resources/pcap2diameterHex.sh @@ -146,7 +146,17 @@ for frame in ${all_frames[@]}; do # To decimal: hbh=$(printf "%d\n" $hbh) e2e=$(printf "%d\n" $e2e) - echo -e "timestamp=$ts\ndate=$date\nsrc=$src\ndst=$dst\ncode=$code\nisrequest=$isreq\napplicationid=$appid\nhbh.e2e=${hbh}.${e2e}" > $RESULTS_DIR/$frame.metadata + echo "date=$date" > $RESULTS_DIR/$frame.metadata + echo "timestamp=$ts" >> $RESULTS_DIR/$frame.metadata + echo "src=$src" >> $RESULTS_DIR/$frame.metadata + echo "dst=$dst" >> $RESULTS_DIR/$frame.metadata + echo "code=$code" >> $RESULTS_DIR/$frame.metadata + echo "isrequest=$isreq" >> $RESULTS_DIR/$frame.metadata + echo "applicationid=$appid" >> $RESULTS_DIR/$frame.metadata + #echo "sequence=${hbh}.${e2e}" >> $RESULTS_DIR/$frame.metadata +# echo "hopbyhop=$hbh" >> $RESULTS_DIR/$frame.metadata +# echo "endtoend=$e2e" >> $RESULTS_DIR/$frame.metadata + echo " and $RESULTS_DIR/$frame.metadata" done