svn commit: samba r10047 - in
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal: .
tpot at samba.org
tpot at samba.org
Tue Sep 6 01:52:35 GMT 2005
Author: tpot
Date: 2005-09-06 01:52:34 +0000 (Tue, 06 Sep 2005)
New Revision: 10047
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10047
Log:
Translate an idl NTTIME to an ethereal FT_ABSOLUTE_TIME instead of
a FT_UINT64. Not sure about a NTTIME_hyper though.
Modified:
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/NDR.pm 2005-09-06 00:42:21 UTC (rev 10046)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/NDR.pm 2005-09-06 01:52:34 UTC (rev 10047)
@@ -33,9 +33,13 @@
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");
return "FT_NONE";
More information about the samba-cvs
mailing list