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>
This commit is contained in:
Guy Harris 2014-09-28 01:01:45 -07:00
parent f0b5fb7a04
commit e9c4217dca
2 changed files with 0 additions and 6 deletions

View File

@ -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);

View File

@ -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");