diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-07-04 21:43:34 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-07-04 21:43:34 +0000 |
commit | 2f05cf4dcfbecb970713c564fdbe8d0fa40d6ffb (patch) | |
tree | 48ae1991be5f20fc1b47e42036a09bc0a79f2717 /rawshark.c | |
parent | 78d22ed8ee61de8e350b6228b07fa43f3384d489 (diff) |
From Michael Mann:
Added ability to display UTC time or UTC time with date. I liked having the
difference between UTC and local time, not just setting local=UTC.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2629
svn path=/trunk/; revision=37898
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rawshark.c b/rawshark.c index 4d2e0fef57..df30037b89 100644 --- a/rawshark.c +++ b/rawshark.c @@ -691,6 +691,10 @@ main(int argc, char *argv[]) timestamp_set_type(TS_DELTA_DIS); else if (strcmp(optarg, "e") == 0) timestamp_set_type(TS_EPOCH); + else if (strcmp(optarg, "u") == 0) + timestamp_set_type(TS_UTC); + else if (strcmp(optarg, "ud") == 0) + timestamp_set_type(TS_UTC_WITH_DATE); else { cmdarg_err("Invalid time stamp type \"%s\"", optarg); |