For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-tte.c
index 5571387a3b92941984df29b94a6e2f062e57f9d1..17075e9f9458d208674d8d3a2d410bfd6cd3d789 100644 (file)
@@ -38,7 +38,6 @@
 #include <epan/packet.h>
 #include <epan/prefs.h>
 #include <epan/etypes.h>
-#include <epan/proto.h>
 
 #include "packet-tte.h"
 
@@ -94,7 +93,7 @@ dissect_tte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
         /* create display subtree for the protocol */
         tte_root_item = proto_tree_add_item(tree, proto_tte, tvb, 0,
-            TTE_HEADER_LENGTH, FALSE);
+            TTE_HEADER_LENGTH, ENC_NA);
 
         tte_tree = proto_item_add_subtree(tte_root_item, ett_tte);
 
@@ -113,11 +112,11 @@ dissect_tte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
             ett_tte_macdest);
 
         proto_tree_add_item(tte_macdest_tree,
-            hf_tte_dst_cf, tvb, 0, TTE_MACDEST_CF_LENGTH, FALSE);
+            hf_tte_dst_cf, tvb, 0, TTE_MACDEST_CF_LENGTH, ENC_BIG_ENDIAN);
 
         proto_tree_add_item(tte_macdest_tree,
             hf_tte_ctid, tvb, TTE_MACDEST_CF_LENGTH,
-            TTE_MACDEST_CTID_LENGTH, FALSE);
+            TTE_MACDEST_CTID_LENGTH, ENC_BIG_ENDIAN);
     }
 
     /* prevent clearing the Columns...appending cannot be prevented */