Reworked output

-v 1 now prints only unknown flows
-v 2 now prints all flows
This commit is contained in:
Luca Deri
2019-07-15 14:45:25 +02:00
parent fc531334ae
commit 5c758d4564
27 changed files with 508 additions and 370 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ build_results() {
#echo $f
# create result files if not present
if [ ! -f result/$f.out ]; then
CMD="$READER -q -i pcap/$f -w result/$f.out -v 1"
CMD="$READER -q -i pcap/$f -w result/$f.out -v 2"
$CMD
fi
done
@@ -17,7 +17,7 @@ build_results() {
check_results() {
for f in $PCAPS; do
if [ -f result/$f.out ]; then
CMD="$READER -q -i pcap/$f -w /tmp/reader.out -v 1"
CMD="$READER -q -i pcap/$f -w /tmp/reader.out -v 2"
$CMD
NUM_DIFF=`diff result/$f.out /tmp/reader.out | wc -l`