Blame wireshark-0019-Bugfix-port-number-endianness.-Bug-9530-https-bugs.w.patch

b23552
From: Michael Mann <mmann78@netscape.net>
b23552
Date: Wed, 18 Dec 2013 13:15:13 +0000
b23552
Subject: [PATCH] Bugfix port number endianness.  Bug 9530
b23552
 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9530)
b23552
b23552
Taken from part of r52609 enhancement.
b23552
b23552
svn path=/trunk-1.10/; revision=54217
b23552
b23552
diff --git a/epan/dissectors/packet-bitcoin.c b/epan/dissectors/packet-bitcoin.c
b23552
index 5dd9dae..d7467da 100644
b23552
--- a/epan/dissectors/packet-bitcoin.c
b23552
+++ b/epan/dissectors/packet-bitcoin.c
b23552
@@ -256,7 +256,7 @@ create_address_tree(tvbuff_t *tvb, proto_item *ti, guint32 offset)
b23552
   offset += 16;
b23552
 
b23552
   /* port */
b23552
-  proto_tree_add_item(tree, hf_address_port, tvb, offset, 2, ENC_LITTLE_ENDIAN);
b23552
+  proto_tree_add_item(tree, hf_address_port, tvb, offset, 2, ENC_BIG_ENDIAN);
b23552
 
b23552
   return tree;
b23552
 }