File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,13 @@ Extract SOP message information from CAP_FILEs.
8
8
9
9
Options:
10
10
-h display this help text and exit
11
- -v increase verbosity (stderr). A single -v will show critical, error, info
12
- and debug messages. Double -v will show trace messages as well . Note
13
- that double -v is VERY verbose. Use for troubleshooting a dissector.
11
+ -v increase verbosity (stderr). A single -v will show critical messages.
12
+ Add more v to increase the trace level up to 5 for DEBUG . Note
13
+ that DEBUG is VERY verbose. Use only to troubleshoot a dissector.
14
14
15
15
Example:
16
16
${0##*/ } -v sop.pcapng
17
+ ${0##*/ } -vvvvv sop.pcapng
17
18
EOF
18
19
exit 1 >&2
19
20
}
43
44
44
45
# By default redirect tshark's STDERR to /dev/null.
45
46
TSHARK_STDERR=' 2>/dev/null'
46
- SOP_TRACE=
47
+ SOP_TRACE=" -o sop.trace_level: $verbosity_level "
47
48
if [[ $verbosity_level -ge 1 ]]; then
48
49
TSHARK_STDERR=
49
50
fi
50
- if [[ $verbosity_level -ge 2 ]]; then
51
- SOP_TRACE=" -o sop.trace:TRUE"
52
- fi
53
51
54
52
shift $(( $OPTIND - 1 ))
55
53
You can’t perform that action at this time.
0 commit comments