aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/iptrace.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-08-25 21:29:54 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-08-25 21:29:54 +0000
commit723c80ea90a3c56c069a0a99e22edd43b00cf357 (patch)
treea0bd0c2272cf5b8f96e1364c0e2f7be960df4f69 /wiretap/iptrace.c
parentbd42437262d885f24cbf0fc96e4b2235aac695a3 (diff)
downloadwireshark-723c80ea90a3c56c069a0a99e22edd43b00cf357.tar.gz
wireshark-723c80ea90a3c56c069a0a99e22edd43b00cf357.tar.bz2
wireshark-723c80ea90a3c56c069a0a99e22edd43b00cf357.zip
timestamp display precision:
- automatic adjustment depending on file format - manual adjustment through menu items save the setting in the recent file svn path=/trunk/; revision=15534
Diffstat (limited to 'wiretap/iptrace.c')
-rw-r--r--wiretap/iptrace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wiretap/iptrace.c b/wiretap/iptrace.c
index 9281b6b80c..a78323d96c 100644
--- a/wiretap/iptrace.c
+++ b/wiretap/iptrace.c
@@ -72,11 +72,13 @@ int iptrace_open(wtap *wth, int *err, gchar **err_info _U_)
wth->file_type = WTAP_FILE_IPTRACE_1_0;
wth->subtype_read = iptrace_read_1_0;
wth->subtype_seek_read = iptrace_seek_read_1_0;
+ wth->tsprecision = WTAP_FILE_TSPREC_SEC;
}
else if (strcmp(name, "iptrace 2.0") == 0) {
wth->file_type = WTAP_FILE_IPTRACE_2_0;
wth->subtype_read = iptrace_read_2_0;
wth->subtype_seek_read = iptrace_seek_read_2_0;
+ wth->tsprecision = WTAP_FILE_TSPREC_NSEC;
}
else {
return 0;