In case the "ts" field of a libpcap per-packet header isn't a "struct
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 26 Jan 2000 23:09:21 +0000 (23:09 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 26 Jan 2000 23:09:21 +0000 (23:09 +0000)
commit73480393a5644b55a91d367f7b6ae5ff3f718ab2
treeef210ad4018835e988e3705fb51617029aae617b
parentc8529e089bb1f85c49319772c49f3bc6af6cf372
In case the "ts" field of a libpcap per-packet header isn't a "struct
timeval" (if, say, it's a "struct bpf_timeval", with member sizes wired
to 32 bits, as it appears to be in SuSE 6.3 and will, I think, be in the
0.5 release of libpcap), copy the members of that field to the "ts"
field of the Wiretap per-packet header (which also lets us make it not a
"struct timeval" as well).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1572 f5534014-38df-0310-8fa8-9805f1628bb7
capture.c