aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-artnet.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-09-18 21:18:34 -0400
committerBill Meier <wmeier@newsguy.com>2014-09-19 01:38:08 +0000
commit18d72987cb44eb3594b054a8509c447dbc709b46 (patch)
treeb987bbcf662d0bbff0251b64f212ac70d2f45726 /epan/dissectors/packet-artnet.c
parent4bdf5145129a2b9dbae3d927a761d9be5cecacd5 (diff)
Do encoding-arg changes (all benign)
For: - FT_BYTES: Always use just ENC_NA - integral/floating (other than FT_[U]INT8): Do ENC_NA --> ENC_BIG_ENDIAN Also: - FT_UINT... --> FT_UINT8 in a few cases (to match proto_tree_add_item...) - Change one case of incorrect '||' to '|' Change-Id: I427e0e61618ff8faf55691c8a695930f67d455b0 Reviewed-on: https://code.wireshark.org/review/4184 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-artnet.c')
-rw-r--r--epan/dissectors/packet-artnet.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-artnet.c b/epan/dissectors/packet-artnet.c
index 7a5a392414..8adb921b86 100644
--- a/epan/dissectors/packet-artnet.c
+++ b/epan/dissectors/packet-artnet.c
@@ -2239,12 +2239,12 @@ dissect_artnet_diag_data(tvbuff_t *tvb, guint offset, proto_tree *tree)
offset += 1;
proto_tree_add_item(tree, hf_artnet_diag_data_index, tvb,
- offset, 2, ENC_NA);
+ offset, 2, ENC_BIG_ENDIAN);
offset += 2;
length = tvb_get_ntohs(tvb, offset);
proto_tree_add_item(tree, hf_artnet_diag_data_length, tvb,
- offset, 2, ENC_NA);
+ offset, 2, ENC_BIG_ENDIAN);
offset+=2;
proto_tree_add_item(tree, hf_artnet_diag_data_data, tvb,
@@ -2323,7 +2323,7 @@ dissect_artnet_directory(tvbuff_t *tvb, guint offset, proto_tree *tree)
offset += 1;
proto_tree_add_item(tree, hf_artnet_directory_file, tvb,
- offset, 2, ENC_NA);
+ offset, 2, ENC_BIG_ENDIAN);
offset += 2;
return offset;
@@ -2342,7 +2342,7 @@ dissect_artnet_directory_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
offset += 1;
proto_tree_add_item(tree, hf_artnet_directory_reply_file, tvb,
- offset, 2, ENC_NA);
+ offset, 2, ENC_BIG_ENDIAN);
offset += 2;
proto_tree_add_item(tree, hf_artnet_directory_reply_name, tvb,
@@ -2354,7 +2354,7 @@ dissect_artnet_directory_reply(tvbuff_t *tvb, guint offset, proto_tree *tree)
offset += 64;
proto_tree_add_item(tree, hf_artnet_directory_reply_length, tvb,
- offset, 8, ENC_NA);
+ offset, 8, ENC_BIG_ENDIAN);
offset += 8;
proto_tree_add_item(tree, hf_artnet_directory_reply_data, tvb,
@@ -2395,7 +2395,7 @@ dissect_artnet_file_tn_master(tvbuff_t *tvb, guint offset, proto_tree *tree)
offset += 1;
proto_tree_add_item(tree, hf_artnet_file_tn_master_length, tvb,
- offset, 4, ENC_NA);
+ offset, 4, ENC_BIG_ENDIAN);
offset += 4;
proto_tree_add_item(tree, hf_artnet_file_tn_master_name, tvb,
@@ -2403,7 +2403,7 @@ dissect_artnet_file_tn_master(tvbuff_t *tvb, guint offset, proto_tree *tree)
offset += 14;
proto_tree_add_item(tree, hf_artnet_file_tn_master_checksum, tvb,
- offset, 2, ENC_NA);
+ offset, 2, ENC_BIG_ENDIAN);
offset += 2;
proto_tree_add_item(tree, hf_artnet_file_tn_master_spare, tvb,