summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Ethereal
diff options
context:
space:
mode:
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Ethereal')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm b/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
index dbaf12b572..ee774d1898 100644
--- a/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
+++ b/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
@@ -33,8 +33,12 @@ sub type2ft($)
return "FT_UINT$1" if $t =~ /uint(8|16|32|64)/;
return "FT_INT$1" if $t =~ /int(8|16|32|64)/;
- return "FT_UINT64", if $t eq "HYPER_T" or $t eq "NTTIME"
- or $t eq "NTTIME_1sec" or $t eq "NTTIME_hyper" or $t eq "hyper";
+ return "FT_UINT64", if $t eq "HYPER_T" or $t eq "NTTIME_hyper"
+ or $t eq "hyper";
+
+ # TODO: should NTTIME_hyper be a FT_ABSOLUTE_TIME as well?
+
+ return "FT_ABSOLUTE_TIME" if $t eq "NTTIME" or $t eq "NTTIME_1sec";
return "FT_STRING" if ($t eq "string");