git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a presence flag field to the packet information structure filled in
[obnox/wireshark/wip.git]
/
wiretap
/
vms.c
diff --git
a/wiretap/vms.c
b/wiretap/vms.c
index 109b20964dcaaa1cd364de6e8e0adadc3736f5f3..2b02dbf0d0f44a598cf46c5b6d636fe006d882d2 100644
(file)
--- a/
wiretap/vms.c
+++ b/
wiretap/vms.c
@@
-444,6
+444,7
@@
parse_vms_rec_hdr(wtap *wth, FILE_T fh, int *err, gchar **err_info)
tm.tm_year -= 1900;
tm.tm_isdst = -1;
+ wth->phdr.presence_flags = WTAP_HAS_TS;
wth->phdr.ts.secs = mktime(&tm);
wth->phdr.ts.nsecs = csec * 10000000;
wth->phdr.caplen = pkt_len;