diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-04-26 19:44:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-04-26 19:44:18 +0000 |
commit | 65b4512fe39007bf3f069bbbcc26c0a823d85aaf (patch) | |
tree | 4e747958f0c4ba590782061771338d6d5a25e132 /epan/dissectors/packet-smb.h | |
parent | b5b70b840534ebbac563b2fb2a727aba4d5172ea (diff) | |
download | wireshark-65b4512fe39007bf3f069bbbcc26c0a823d85aaf.tar.gz wireshark-65b4512fe39007bf3f069bbbcc26c0a823d85aaf.tar.bz2 wireshark-65b4512fe39007bf3f069bbbcc26c0a823d85aaf.zip |
As with other types of extra info, tag the UID extra info. Don't add
stuff to the UID tree unless it's UID stuff.
Also, as we appear to allow for null domain and account information in
dissect_smb_uid(), check for null information before trying to add it to
the top-level item.
svn path=/trunk/; revision=21597
Diffstat (limited to 'epan/dissectors/packet-smb.h')
-rw-r--r-- | epan/dissectors/packet-smb.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/epan/dissectors/packet-smb.h b/epan/dissectors/packet-smb.h index 4a3fa72bdb..56b24b1e82 100644 --- a/epan/dissectors/packet-smb.h +++ b/epan/dissectors/packet-smb.h @@ -198,12 +198,13 @@ typedef struct { #define SMB_SIF_TID_IS_IPC 0x0001 #define SMB_SIF_IS_CONTINUED 0x0002 typedef enum { - SMB_EI_NONE, /* Unassigned / NULL */ - SMB_EI_FID, /* FID */ - SMB_EI_NTI, /* smb_nt_transact_info_t * */ - SMB_EI_TRI, /* smb_transact_info_t * */ - SMB_EI_T2I, /* smb_transact2_info_t * */ - SMB_EI_FILENAME /* fid tracking char * */ + SMB_EI_NONE, /* Unassigned / NULL */ + SMB_EI_FID, /* FID */ + SMB_EI_NTI, /* smb_nt_transact_info_t * */ + SMB_EI_TRI, /* smb_transact_info_t * */ + SMB_EI_T2I, /* smb_transact2_info_t * */ + SMB_EI_FILENAME, /* fid tracking char * */ + SMB_EI_UID /* smb_uid_t */ } smb_extra_info_t; typedef struct { guint32 frame_req, frame_res; |