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:
Bradford Boyle 2015-10-16 00:15:55 -04:00 committed by Anders Broman
parent 1e623d6985
commit 12fa38774a
1 changed files with 1 additions and 1 deletions

View File

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