The branch, master has been updated
       via  0f57a39... pidl: Fix display field for time fields with newer 
versions of Wireshark.
      from  e904443... Carefully label SMB1-specific locking calls.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 0f57a3991644d69f22ef7303aad03343bdf1ab3c
Author: Jeff Morriss <[email protected]>
Date:   Fri Apr 30 00:11:54 2010 +0200

    pidl: Fix display field for time fields with newer versions of Wireshark.
    
    Pidl generates some Wireshark dissector fields of type FT_ABSOLUTE_TIME.
    Starting some time not too long ago, these fields need a 'display' field
    other than BASE_NONE or BASE_DEC.  This commit fixes this,
    *assuming* that all the times are "local."

-----------------------------------------------------------------------

Summary of changes:
 pidl/lib/Parse/Pidl/Wireshark/NDR.pm |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm 
b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index b8adf2d..64b8dcf 100644
--- a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -886,10 +886,10 @@ sub Initialize($$)
        $self->register_type("dlong", "offset = dissect_ndr_duint32(tvb, 
offset, pinfo, tree, drep, \...@hf\@, NULL);","FT_INT64", "BASE_DEC", 0, 
"NULL", 8);
        $self->register_type("GUID", "offset = dissect_ndr_uuid_t(tvb, offset, 
pinfo, tree, drep, \...@hf\@, NULL);","FT_GUID", "BASE_NONE", 0, "NULL", 4);
        $self->register_type("policy_handle", "offset = 
PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, drep, \...@hf\@, 
\...@param\@);","FT_BYTES", "BASE_NONE", 0, "NULL", 4);
-       $self->register_type("NTTIME", "offset = dissect_ndr_nt_NTTIME(tvb, 
offset, pinfo, tree, drep, \...@hf\@);","FT_ABSOLUTE_TIME", "BASE_NONE", 0, 
"NULL", 4);
-       $self->register_type("NTTIME_hyper", "offset = 
dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, 
\...@hf\@);","FT_ABSOLUTE_TIME", "BASE_NONE", 0, "NULL", 4);
-       $self->register_type("time_t", "offset = dissect_ndr_time_t(tvb, 
offset, pinfo,tree, drep, \...@hf\@, NULL);","FT_ABSOLUTE_TIME", "BASE_NONE", 
0, "NULL", 4);
-       $self->register_type("NTTIME_1sec", "offset = 
dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, \...@hf\@);", 
"FT_ABSOLUTE_TIME", "BASE_NONE", 0, "NULL", 4);
+       $self->register_type("NTTIME", "offset = dissect_ndr_nt_NTTIME(tvb, 
offset, pinfo, tree, drep, \...@hf\@);","FT_ABSOLUTE_TIME", 
"ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
+       $self->register_type("NTTIME_hyper", "offset = 
dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, 
\...@hf\@);","FT_ABSOLUTE_TIME", "ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
+       $self->register_type("time_t", "offset = dissect_ndr_time_t(tvb, 
offset, pinfo,tree, drep, \...@hf\@, NULL);","FT_ABSOLUTE_TIME", 
"ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
+       $self->register_type("NTTIME_1sec", "offset = 
dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, \...@hf\@);", 
"FT_ABSOLUTE_TIME", "ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
        $self->register_type("SID", "
                dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
 


-- 
Samba Shared Repository

Reply via email to