aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb2.h
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-10-29 20:22:02 +0000
committerBill Meier <wmeier@newsguy.com>2010-10-29 20:22:02 +0000
commitf543357d142288e14dbfedeb0d35bdd139abea15 (patch)
tree412790b9e3d1c4f5de2524434eeca6584cc630e0 /epan/dissectors/packet-smb2.h
parentfd5225805236e06d37b8c8196ebf9f3d28280df4 (diff)
Use value_string_ext fcns to access certain value_string arrays.
svn path=/trunk/; revision=34692
Diffstat (limited to 'epan/dissectors/packet-smb2.h')
-rw-r--r--epan/dissectors/packet-smb2.h6
1 files changed, 3 insertions, 3 deletions
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.