diff options
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/goose/goose.cnf | 2 | ||||
-rw-r--r-- | asn1/mms/mms.cnf | 4 | ||||
-rw-r--r-- | asn1/snmp/packet-snmp-template.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/asn1/goose/goose.cnf b/asn1/goose/goose.cnf index 2c9f92b226..cfbba59470 100644 --- a/asn1/goose/goose.cnf +++ b/asn1/goose/goose.cnf @@ -47,7 +47,7 @@ ts.secs = seconds; ts.nsecs = nanoseconds; - ptime = abs_time_to_str(&ts, ABSOLUTE_TIME_UTC); + ptime = abs_time_to_str(&ts, ABSOLUTE_TIME_UTC, TRUE); if(hf_index >= 0) { diff --git a/asn1/mms/mms.cnf b/asn1/mms/mms.cnf index 6976087af5..4447a01e1b 100644 --- a/asn1/mms/mms.cnf +++ b/asn1/mms/mms.cnf @@ -80,7 +80,7 @@ UtcTime TYPE = FT_STRING DISPLAY = BASE_NONE ts.secs = (days + 5113) * 86400 + milliseconds / 1000; ts.nsecs = (milliseconds %% 1000) * G_GINT64_CONSTANT(1000000U); - ptime = abs_time_to_str(&ts, ABSOLUTE_TIME_UTC); + ptime = abs_time_to_str(&ts, ABSOLUTE_TIME_UTC, TRUE); if(hf_index >= 0) { proto_tree_add_string(tree, hf_index, tvb, offset, len, ptime); @@ -134,7 +134,7 @@ UtcTime TYPE = FT_STRING DISPLAY = BASE_NONE ts.secs = seconds; ts.nsecs = nanoseconds; - ptime = abs_time_to_str(&ts, ABSOLUTE_TIME_UTC); + ptime = abs_time_to_str(&ts, ABSOLUTE_TIME_UTC, TRUE); if(hf_index >= 0) { diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c index d4f8a37eaf..1d77ec7b30 100644 --- a/asn1/snmp/packet-snmp-template.c +++ b/asn1/snmp/packet-snmp-template.c @@ -1035,7 +1035,7 @@ int dissect_snmp_engineid(proto_tree *tree, tvbuff_t *tvb, int offset, int len) ts.nsecs = 0; proto_tree_add_time_format_value(tree, hf_snmp_engineid_time, tvb, offset+4, 4, &ts, "%s", - abs_time_secs_to_str(seconds, ABSOLUTE_TIME_LOCAL)); + abs_time_secs_to_str(seconds, ABSOLUTE_TIME_LOCAL, TRUE)); offset+=8; len_remain=0; } |