From 3ce0e64aecb3b4a49f973915303c12c8685ad06f Mon Sep 17 00:00:00 2001 From: wmeier Date: Fri, 24 Aug 2012 19:49:53 +0000 Subject: 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 --- epan/dissectors/packet-openwire.c | 4 ++-- 1 file 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 } }; -- cgit v1.2.3