Ethereal-dev: [Ethereal-dev] [patch] packet-x11.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: didier <dgautheron@xxxxxxxx>
Date: Fri, 12 Apr 2002 00:00:42 +0000
What about:
Index: packet-x11.c
===================================================================
RCS file: /cvsroot/ethereal/packet-x11.c,v
retrieving revision 1.32
diff -u -r1.32 packet-x11.c
--- packet-x11.c	2002/04/11 09:38:03	1.32
+++ packet-x11.c	2002/04/11 18:48:07
@@ -1271,7 +1271,7 @@
 static guint32 field16(tvbuff_t *tvb, proto_tree *t, int hf)
 {
       guint32 v = VALUE16(tvb, cur_offset);
-      proto_tree_add_item(t, hf, tvb, cur_offset, 2, v);
+      proto_tree_add_item(t, hf, tvb, cur_offset, 2, little_endian);
       cur_offset += 2;
       return v;
 }