aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fcswils.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-16 23:38:49 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-16 23:38:49 +0000
commit293049dfbac0ea7db5651f4f4a0820465421550e (patch)
tree4d2c6162e3fa0d91a2c747c36d3eaadaa5b9691f /epan/dissectors/packet-fcswils.c
parent0bef3129f30acfecfe2201147a42188d6fbe08ad (diff)
Do some conversions of proto_tree_add_item() 'encoding' arg.
(previously missed). 57 FT_BOOLEAN: FALSE-->ENC_BIG_ENDIAN 31 FT_BOOLEAN: TRUE-->ENC_LITTLE_ENDIAN 10 FT_BYTES: ENC_BIG_ENDIAN-->ENC_NA 1 FT_BYTES: ENC_LITTLE_ENDIAN-->ENC_NA 21 FT_BYTES: FALSE-->ENC_NA 2 FT_BYTES: TRUE-->ENC_NA 2 FT_IPXNET: ENC_BIG_ENDIAN-->ENC_NA 6 FT_IPv6: ENC_BIG_ENDIAN-->ENC_NA 1 FT_IPv6: FALSE-->ENC_NA 6 FT_NONE: ENC_BIG_ENDIAN-->ENC_NA 19 FT_NONE: FALSE-->ENC_NA 3 FT_NONE: TRUE-->ENC_NA 1 FT_STRING: ENC_BIG_ENDIAN-->ENC_ASCII|ENC_NA 1 FT_STRING: ENC_LITTLE_ENDIAN-->ENC_ASCII|ENC_NA 5 FT_STRING: FALSE-->ENC_ASCII|ENC_NA 1 FT_STRING: TRUE-->ENC_ASCII|ENC_NA 4 FT_STRINGZ: ENC_NA-->ENC_ASCII|ENC_NA 8 FT_STRINGZ: FALSE-->ENC_ASCII|ENC_NA 1 FT_INT32: FALSE-->ENC_BIG_ENDIAN 1 FT_INT32: TRUE-->ENC_LITTLE_ENDIAN 11 FT_UINT8: 0-->ENC_BIG_ENDIAN 111 FT_UINT8: FALSE-->ENC_BIG_ENDIAN 17 FT_UINT8: TRUE-->ENC_LITTLE_ENDIAN 1 FT_UINT16: 0-->ENC_BIG_ENDIAN 68 FT_UINT16: FALSE-->ENC_BIG_ENDIAN 18 FT_UINT16: TRUE-->ENC_LITTLE_ENDIAN 4 FT_UINT24: FALSE-->ENC_BIG_ENDIAN 70 FT_UINT32: FALSE-->ENC_BIG_ENDIAN 1 FT_UINT32: TRUE-->ENC_LITTLE_ENDIAN 4 FT_UINT64: FALSE-->ENC_BIG_ENDIAN 1 FT_UINT64: TRUE-->ENC_LITTLE_ENDIAN 1 FT_UINT_STRING: FALSE-->ENC_ASCII|ENC_BIG_ENDIAN svn path=/trunk/; revision=39442
Diffstat (limited to 'epan/dissectors/packet-fcswils.c')
-rw-r--r--epan/dissectors/packet-fcswils.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/epan/dissectors/packet-fcswils.c b/epan/dissectors/packet-fcswils.c
index d7a8b79996..fec1afe218 100644
--- a/epan/dissectors/packet-fcswils.c
+++ b/epan/dissectors/packet-fcswils.c
@@ -930,7 +930,7 @@ dissect_swils_efp (tvbuff_t *tvb, proto_tree *efp_tree, guint8 isreq _U_)
break;
case FC_SWILS_LRECTYPE_MCAST:
- proto_tree_add_item (lrec_tree, hf_swils_efp_mcast_grpno, tvb, offset+1, 1, 0);
+ proto_tree_add_item (lrec_tree, hf_swils_efp_mcast_grpno, tvb, offset+1, 1, ENC_BIG_ENDIAN);
break;
}
offset += efp.reclen;
@@ -1401,9 +1401,9 @@ dissect_swils_mergereq (tvbuff_t *tvb, proto_tree *mr_tree, guint8 isreq)
}
else {
proto_tree_add_item (mr_tree, hf_swils_zone_status, tvb,
- offset+5, 1, 0);
+ offset+5, 1, ENC_BIG_ENDIAN);
proto_tree_add_item (mr_tree, hf_swils_zone_reason, tvb,
- offset+6, 1, 0);
+ offset+6, 1, ENC_BIG_ENDIAN);
proto_tree_add_text (mr_tree, tvb, offset+7, 1,
"Vendor Unique: 0x%x",
tvb_get_guint8 (tvb, offset+7));
@@ -1437,9 +1437,9 @@ dissect_swils_aca (tvbuff_t *tvb, proto_tree *aca_tree, guint8 isreq)
}
else {
proto_tree_add_item (aca_tree, hf_swils_zone_status, tvb,
- offset+5, 1, 0);
+ offset+5, 1, ENC_BIG_ENDIAN);
proto_tree_add_item (aca_tree, hf_swils_zone_reason, tvb,
- offset+6, 1, 0);
+ offset+6, 1, ENC_BIG_ENDIAN);
proto_tree_add_text (aca_tree, tvb, offset+7, 1,
"Vendor Unique: 0x%x",
tvb_get_guint8 (tvb, offset+7));
@@ -1456,9 +1456,9 @@ dissect_swils_rca (tvbuff_t *tvb, proto_tree *rca_tree, guint8 isreq)
if (rca_tree) {
if (!isreq) {
proto_tree_add_item (rca_tree, hf_swils_zone_status, tvb,
- offset+5, 1, 0);
+ offset+5, 1, ENC_BIG_ENDIAN);
proto_tree_add_item (rca_tree, hf_swils_zone_reason, tvb,
- offset+6, 1, 0);
+ offset+6, 1, ENC_BIG_ENDIAN);
proto_tree_add_text (rca_tree, tvb, offset+7, 1,
"Vendor Unique: 0x%x",
tvb_get_guint8 (tvb, offset+7));
@@ -1548,9 +1548,9 @@ dissect_swils_sfc (tvbuff_t *tvb, proto_tree *sfc_tree, guint8 isreq)
}
else {
proto_tree_add_item (sfc_tree, hf_swils_zone_status, tvb,
- offset+5, 1, 0);
+ offset+5, 1, ENC_BIG_ENDIAN);
proto_tree_add_item (sfc_tree, hf_swils_zone_reason, tvb,
- offset+6, 1, 0);
+ offset+6, 1, ENC_BIG_ENDIAN);
proto_tree_add_text (sfc_tree, tvb, offset+7, 1,
"Vendor Unique: 0x%x",
tvb_get_guint8 (tvb, offset+7));
@@ -1567,9 +1567,9 @@ dissect_swils_ufc (tvbuff_t *tvb, proto_tree *ufc_tree, guint8 isreq)
if (ufc_tree) {
if (!isreq) {
proto_tree_add_item (ufc_tree, hf_swils_zone_status, tvb,
- offset+5, 1, 0);
+ offset+5, 1, ENC_BIG_ENDIAN);
proto_tree_add_item (ufc_tree, hf_swils_zone_reason, tvb,
- offset+6, 1, 0);
+ offset+6, 1, ENC_BIG_ENDIAN);
proto_tree_add_text (ufc_tree, tvb, offset+7, 1,
"Vendor Unique: 0x%x",
tvb_get_guint8 (tvb, offset+7));