aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipmi-transport.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-20 14:07:54 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-20 14:07:54 +0000
commitd65261d344ba268dd76e533970714649d1bbfb71 (patch)
tree8498849c46a94048de6ad33480a4e0aed549da2b /epan/dissectors/packet-ipmi-transport.c
parentf27e3fa74bf641a08e8a17c68bf2393143013bd8 (diff)
Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.
(Some minor whitespace cleanup). svn path=/trunk/; revision=39488
Diffstat (limited to 'epan/dissectors/packet-ipmi-transport.c')
-rw-r--r--epan/dissectors/packet-ipmi-transport.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-ipmi-transport.c b/epan/dissectors/packet-ipmi-transport.c
index f9f5654cee..0dbf15b8cc 100644
--- a/epan/dissectors/packet-ipmi-transport.c
+++ b/epan/dissectors/packet-ipmi-transport.c
@@ -630,7 +630,7 @@ static const value_string serial30_snoopctl_vals[] = {
{ 0, NULL }
};
-static const value_string serial30_negoctl_vals[] = {
+static const value_string serial30_negoctl_vals[] = {
{ 0x00, "On initial connection and mux switch" },
{ 0x01, "On initial connection" },
{ 0x02, "Never" },
@@ -760,7 +760,7 @@ lan_04(tvbuff_t *tvb, proto_tree *tree)
static void
lan_05(tvbuff_t *tvb, proto_tree *tree)
{
- proto_tree_add_item(tree, hf_ipmi_trn_lan05_ether, tvb, 0, 6, FALSE);
+ proto_tree_add_item(tree, hf_ipmi_trn_lan05_ether, tvb, 0, 6, ENC_NA);
}
static void
@@ -815,7 +815,7 @@ lan_12(tvbuff_t *tvb, proto_tree *tree)
static void
lan_13(tvbuff_t *tvb, proto_tree *tree)
{
- proto_tree_add_item(tree, hf_ipmi_trn_lan13_def_gw_mac, tvb, 0, 6, FALSE);
+ proto_tree_add_item(tree, hf_ipmi_trn_lan13_def_gw_mac, tvb, 0, 6, ENC_NA);
}
static void
@@ -827,7 +827,7 @@ lan_14(tvbuff_t *tvb, proto_tree *tree)
static void
lan_15(tvbuff_t *tvb, proto_tree *tree)
{
- proto_tree_add_item(tree, hf_ipmi_trn_lan15_bkp_gw_mac, tvb, 0, 6, FALSE);
+ proto_tree_add_item(tree, hf_ipmi_trn_lan15_bkp_gw_mac, tvb, 0, 6, ENC_NA);
}
static void
@@ -872,7 +872,7 @@ lan_19(tvbuff_t *tvb, proto_tree *tree)
if (v == 0) {
proto_tree_add_bitmask_text(tree, tvb, 2, 1, NULL, NULL, ett_ipmi_trn_lan19_byte3, byte3, TRUE, 0);
proto_tree_add_item(tree, hf_ipmi_trn_lan19_ip, tvb, 3, 4, ENC_BIG_ENDIAN);
- proto_tree_add_item(tree, hf_ipmi_trn_lan19_mac, tvb, 7, 6, FALSE);
+ proto_tree_add_item(tree, hf_ipmi_trn_lan19_mac, tvb, 7, 6, ENC_NA);
return;
}
@@ -1285,7 +1285,7 @@ serial_10(tvbuff_t *tvb, proto_tree *tree)
static void
serial_11(tvbuff_t *tvb, proto_tree *tree)
{
- proto_tree_add_item(tree, hf_ipmi_trn_serial11_esc_seq, tvb, 0, 5, ENC_ASCII|ENC_NA);
+ proto_tree_add_item(tree, hf_ipmi_trn_serial11_esc_seq, tvb, 0, 5, ENC_ASCII|ENC_NA);
}
static void