aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2012-08-24 19:49:53 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2012-08-24 19:49:53 +0000
commit3ce0e64aecb3b4a49f973915303c12c8685ad06f (patch)
tree9061a5a5350d0b0c88583a5b1dfb7c64a879d10b
parent13098a37b6cd6656e4d3e6287e16351e61778d9c (diff)
Allow extended value string binary search (istead of linear search): re-order value_srring array entries slightly.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44656 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--epan/dissectors/packet-openwire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-openwire.c b/epan/dissectors/packet-openwire.c
index 073407ad95..db819a6ee6 100644
--- a/epan/dissectors/packet-openwire.c
+++ b/epan/dissectors/packet-openwire.c
@@ -446,8 +446,6 @@ static value_string_ext openwire_opcode_vals_ext = VALUE_STRING_EXT_INIT(openwir
#define OPENWIRE_TYPE_BIG_STRING 13
static const value_string openwire_type_vals[] = {
- { OPENWIRE_TYPE_THROWABLE, "Throwable" },
- { OPENWIRE_TYPE_OBJECT_ARRAY, "ObjectArray" },
{ OPENWIRE_TYPE_NULL, "Null" },
{ OPENWIRE_TYPE_BOOLEAN, "Boolean" },
{ OPENWIRE_TYPE_BYTE, "Byte" },
@@ -481,6 +479,8 @@ static const value_string openwire_type_vals[] = {
{ OPENWIRE_CONSUMER_ID, "ConsumerId" },
{ OPENWIRE_PRODUCER_ID, "ProducerId" },
{ OPENWIRE_BROKER_ID, "BrokerId" },
+ { OPENWIRE_TYPE_OBJECT_ARRAY, "ObjectArray" },
+ { OPENWIRE_TYPE_THROWABLE, "Throwable" },
{ 0, NULL }
};