aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-26 17:23:24 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-26 17:23:24 +0000
commit9d76427e1b7f58b3bd54218de2f54bd4038630aa (patch)
treeff9d82e6d356cc2b65d77c7dd27a299d0280e130 /tshark.c
parentd7f53a80d2a341d4f8446729cb7317d75798afb7 (diff)
Added functionality for handling global profiles.
Global profiles can be installed in a "profiles" directory in the Global configuration directory, and a global profile will be copied to the users profiles on first time usage. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36077 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 985400bbbf..0b81d4978a 100644
--- a/tshark.c
+++ b/tshark.c
@@ -883,7 +883,7 @@ main(int argc, char *argv[])
while ((opt = getopt(argc, argv, optstring)) != -1) {
switch (opt) {
case 'C': /* Configuration Profile */
- if (profile_exists (optarg)) {
+ if (profile_exists (optarg, FALSE)) {
set_profile_name (optarg);
} else {
cmdarg_err("Configuration Profile \"%s\" does not exist", optarg);