forked from osmocom/wireshark
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
This commit is contained in:
parent
77cf790b76
commit
1cc0587d00
|
@ -36,7 +36,7 @@ VALID=0
|
||||||
PCAP=""
|
PCAP=""
|
||||||
TOOL=""
|
TOOL=""
|
||||||
|
|
||||||
while getopts ":2b:C:lmnprtTwcevW" OPTCHAR ; do
|
while getopts ":2b:C:lmnprtTYwcevW" OPTCHAR ; do
|
||||||
case $OPTCHAR in
|
case $OPTCHAR in
|
||||||
2) COMMAND_ARGS="-2 $COMMAND_ARGS" ;;
|
2) COMMAND_ARGS="-2 $COMMAND_ARGS" ;;
|
||||||
b) BIN_DIR=$OPTARG ;;
|
b) BIN_DIR=$OPTARG ;;
|
||||||
|
@ -49,6 +49,7 @@ while getopts ":2b:C:lmnprtTwcevW" OPTCHAR ; do
|
||||||
r) REACHABLE="--show-reachable=yes" ;;
|
r) REACHABLE="--show-reachable=yes" ;;
|
||||||
t) TRACK_ORIGINS="--track-origins=yes" ;;
|
t) TRACK_ORIGINS="--track-origins=yes" ;;
|
||||||
T) COMMAND_ARGS="-Vx $COMMAND_ARGS" ;; # "build the Tree"
|
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
|
w) COMMAND=wireshark
|
||||||
COMMAND_ARGS="-nr" ;;
|
COMMAND_ARGS="-nr" ;;
|
||||||
c) COMMAND=capinfos
|
c) COMMAND=capinfos
|
||||||
|
|
Loading…
Reference in New Issue