diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-09-28 01:01:45 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-09-28 08:02:26 +0000 |
commit | e9c4217dca91e3a403af9b16a317dba2e8a20559 (patch) | |
tree | 49e3b8e9225ee179c36e24acc3ef266b69b2cc3e /ui | |
parent | f0b5fb7a0445831af14c0e6cba4b29eae7032c2e (diff) |
Don't change the packet list column precision in taps.
The only place where the packet list column precision should be set is
in the code for the column precision menu item, the code for the recent
file item for that precision, and, if we were to provide it, code for a
command-line optpion to set it. It's not up to some tap to change it.
Change-Id: I547e606fb346b4c21674a66e883cbbe382055a37
Reviewed-on: https://code.wireshark.org/review/4336
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/cli/tap-comparestat.c | 2 | ||||
-rw-r--r-- | ui/gtk/compare_stat.c | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/ui/cli/tap-comparestat.c b/ui/cli/tap-comparestat.c index e0177a9a13..cf208e73f0 100644 --- a/ui/cli/tap-comparestat.c +++ b/ui/cli/tap-comparestat.c @@ -539,8 +539,6 @@ comparestat_init(const char *opt_arg, void* userdata _U_) cs->zebra_time.secs=0; cs->zebra_time.nsecs=1; cs->nr_set=g_hash_table_new(NULL, NULL); - /* microsecond precision */ - timestamp_set_precision(TS_PREC_AUTO_NSEC); if(filter){ cs->filter=g_strdup(filter); diff --git a/ui/gtk/compare_stat.c b/ui/gtk/compare_stat.c index f1532810c3..85248ad60c 100644 --- a/ui/gtk/compare_stat.c +++ b/ui/gtk/compare_stat.c @@ -579,8 +579,6 @@ comparestat_draw(void *arg) second_file_amount=cs->second_file_amount; /* reset after numbering */ g_hash_table_remove_all(cs->nr_set); - /* microsecond precision for Info column*/ - timestamp_set_precision(TS_PREC_AUTO_NSEC); /* reset ordering */ nstime_set_unset(&cs->current_time); @@ -734,8 +732,6 @@ gtk_comparestat_init(const char *opt_arg, void* userdata _U_) cs->zebra_time.secs=0; cs->zebra_time.nsecs=1; cs->nr_set=g_hash_table_new(NULL, NULL); - /* microsecond precision */ - timestamp_set_precision(TS_PREC_AUTO_NSEC); /* transient_for top_level */ cs->win=dlg_window_new("compare-stat"); |