From 4b90aad1dc9dee8bbfcd5943502ebe940eb8cc6a Mon Sep 17 00:00:00 2001 From: wmeier Date: Fri, 29 Oct 2010 20:22:02 +0000 Subject: Use value_string_ext fcns to access certain value_string arrays. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34692 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-smb2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'epan/dissectors/packet-smb2.h') diff --git a/epan/dissectors/packet-smb2.h b/epan/dissectors/packet-smb2.h index cf6e5206b8..6648c6df25 100644 --- a/epan/dissectors/packet-smb2.h +++ b/epan/dissectors/packet-smb2.h @@ -25,15 +25,15 @@ #ifndef __PACKET_SMB2_H__ #define __PACKET_SMB2_H__ -/* SMB2 command codes. With MSVC and a +/* SMB2 command codes. With MSVC and a * libwireshark.dll, we need a special declaration. */ -WS_VAR_IMPORT const value_string smb2_cmd_vals[]; +WS_VAR_IMPORT value_string_ext smb2_cmd_vals_ext; /* Structure to keep track of information specific to a single * SMB2 transaction. Here we store things we need to remember between * a specific request and a specific response. - * + * * There is no guarantee we will have this structure available for all * SMB2 packets so a dissector must check this pointer for NULL * before dereferencing it. -- cgit v1.2.3