forked from osmocom/wireshark
TShark: Don't yell at the user.
This commit is contained in:
parent
2d06b63b14
commit
0bb4b44e2e
4
tshark.c
4
tshark.c
|
@ -1225,13 +1225,13 @@ main(int argc, char *argv[])
|
||||||
break;
|
break;
|
||||||
case 'j':
|
case 'j':
|
||||||
if (protocolfilter) {
|
if (protocolfilter) {
|
||||||
cmdarg_err("-j or -J was already specified! Overwriting previous protocol filter");
|
cmdarg_err("-j or -J was already specified. Overwriting previous protocol filter.");
|
||||||
}
|
}
|
||||||
protocolfilter = wmem_strsplit(wmem_epan_scope(), ws_optarg, " ", -1);
|
protocolfilter = wmem_strsplit(wmem_epan_scope(), ws_optarg, " ", -1);
|
||||||
break;
|
break;
|
||||||
case 'J':
|
case 'J':
|
||||||
if (protocolfilter) {
|
if (protocolfilter) {
|
||||||
cmdarg_err("-j or -J was already specified! Overwriting previous protocol filter");
|
cmdarg_err("-j or -J was already specified. Overwriting previous protocol filter.");
|
||||||
}
|
}
|
||||||
protocolfilter_flags = PF_INCLUDE_CHILDREN;
|
protocolfilter_flags = PF_INCLUDE_CHILDREN;
|
||||||
protocolfilter = wmem_strsplit(wmem_epan_scope(), ws_optarg, " ", -1);
|
protocolfilter = wmem_strsplit(wmem_epan_scope(), ws_optarg, " ", -1);
|
||||||
|
|
Loading…
Reference in New Issue