aboutsummaryrefslogtreecommitdiff
path: root/example/switch
diff options
context:
space:
mode:
Diffstat (limited to 'example/switch')
-rwxr-xr-xexample/switch/switch_run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/switch/switch_run.sh b/example/switch/switch_run.sh
index 9b32973e5..3f8f9db36 100755
--- a/example/switch/switch_run.sh
+++ b/example/switch/switch_run.sh
@@ -33,7 +33,7 @@ fi
for i in `seq 1 $NUM_RX_PORT`;
do
- if [ `stat -c %s pcapout${i}.pcap` -ne `stat -c %s udp64.pcap` ]; then
+ if [ `stat -c %s pcapout${i}.pcap` -ne `stat -c %s ${PCAP_IN}` ]; then
echo "Error: Output file $i size not matching"
RETVAL=1
fi