forked from osmocom/wireshark
Correctly convert clfow.sysuptime to seconds
Change-Id: I4f2f90ab87eafda954f6161a319976b56c7c3cf1 Reviewed-on: https://code.wireshark.org/review/11081 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
1e623d6985
commit
12fa38774a
|
@ -2405,7 +2405,7 @@ dissect_netflow(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data
|
|||
nstime_t nsuptime;
|
||||
|
||||
nsuptime.secs = sysuptime / 1000;
|
||||
nsuptime.nsecs = sysuptime * 1000;
|
||||
nsuptime.nsecs = (sysuptime % 1000) * 1000000;
|
||||
proto_tree_add_time(netflow_tree, hf_cflow_sysuptime, tvb,
|
||||
offset, 4, &nsuptime);
|
||||
offset += 4;
|
||||
|
|
Loading…
Reference in New Issue