projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
samples: pktgen: fix append mode failed issue
[linux-2.6-microblaze.git]
/
samples
/
pktgen
/
pktgen_sample03_burst_single_flow.sh
diff --git
a/samples/pktgen/pktgen_sample03_burst_single_flow.sh
b/samples/pktgen/pktgen_sample03_burst_single_flow.sh
index
8bf2fdf
..
8f8ed1a
100755
(executable)
--- a/
samples/pktgen/pktgen_sample03_burst_single_flow.sh
+++ b/
samples/pktgen/pktgen_sample03_burst_single_flow.sh
@@
-25,6
+25,10
@@
root_check_run_with_sudo "$@"
# Parameter parsing via include
source ${basedir}/parameters.sh
+
+# Trap EXIT first
+trap_exit
+
# Set some default params, if they didn't get set
if [ -z "$DEST_IP" ]; then
[ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"