aboutsummaryrefslogtreecommitdiffstats
path: root/tools/randpkt-test.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-10-05 11:21:41 -0700
committerGerald Combs <gerald@wireshark.org>2016-10-05 18:35:44 +0000
commit2b5020aca51cded41847374a1dc2f8fc3438c5c6 (patch)
tree071347edf3836f8b8ef85ad4694973abb30c82bd /tools/randpkt-test.sh
parent90e30be14d82a873c892c0c945b1817866a46a82 (diff)
randpkt-test: Fix our optstring
"-a" doesn't have an argument. Change-Id: Ia178985925da6e8bf9e1f0e9626521fb93656632 Reviewed-on: https://code.wireshark.org/review/18086 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'tools/randpkt-test.sh')
-rwxr-xr-xtools/randpkt-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/randpkt-test.sh b/tools/randpkt-test.sh
index 24e7c55858..8ba42019a2 100755
--- a/tools/randpkt-test.sh
+++ b/tools/randpkt-test.sh
@@ -18,7 +18,7 @@ ASAN=$CONFIGURED_WITH_ASAN
WIRESHARK_ABORT_ON_DISSECTOR_BUG="True"
# To do: add options for file names and limits
-while getopts "a:b:d:p:t:" OPTCHAR ; do
+while getopts "ab:d:p:t:" OPTCHAR ; do
case $OPTCHAR in
a) ASAN=1 ;;
b) WIRESHARK_BIN_DIR=$OPTARG ;;