aboutsummaryrefslogtreecommitdiffstats
path: root/tools/valgrind-wireshark.sh
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-06-05 21:30:08 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-06-05 21:30:08 +0000
commit1cc0587d0045bc02e8ec7ce09125e6b14d719b38 (patch)
tree9e015759b123c0209bfea0055b6af9541c2badb6 /tools/valgrind-wireshark.sh
parent77cf790b766af0fb5669349677ca3ba8ba500ccd (diff)
Add a -Y option to match test-captures.sh: it runs tshark with a read filter but without building the tree.
svn path=/trunk/; revision=49797
Diffstat (limited to 'tools/valgrind-wireshark.sh')
-rwxr-xr-xtools/valgrind-wireshark.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/valgrind-wireshark.sh b/tools/valgrind-wireshark.sh
index 7fbacc4a7a..5f135261ea 100755
--- a/tools/valgrind-wireshark.sh
+++ b/tools/valgrind-wireshark.sh
@@ -36,7 +36,7 @@ VALID=0
PCAP=""
TOOL=""
-while getopts ":2b:C:lmnprtTwcevW" OPTCHAR ; do
+while getopts ":2b:C:lmnprtTYwcevW" OPTCHAR ; do
case $OPTCHAR in
2) COMMAND_ARGS="-2 $COMMAND_ARGS" ;;
b) BIN_DIR=$OPTARG ;;
@@ -49,6 +49,7 @@ while getopts ":2b:C:lmnprtTwcevW" OPTCHAR ; do
r) REACHABLE="--show-reachable=yes" ;;
t) TRACK_ORIGINS="--track-origins=yes" ;;
T) COMMAND_ARGS="-Vx $COMMAND_ARGS" ;; # "build the Tree"
+ Y) COMMAND_ARGS="-Yframe $COMMAND_ARGS" ;; # Run with a read filter (but no tree)
w) COMMAND=wireshark
COMMAND_ARGS="-nr" ;;
c) COMMAND=capinfos