aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-05-07 19:47:15 +0000
committerGuy Harris <guy@alum.mit.edu>2012-05-07 19:47:15 +0000
commit8f9acccbc5e8141cb6cfddf8233c3713d3e29ccc (patch)
tree7ea8525907226ea8c92cab1d80428e3e44eadc15 /epan/dissectors/packet-eth.c
parentdc06d2643a8108bf21567cb6a1982996886f4fc7 (diff)
Get rid of remaining Booleans-as-encoding-arguments in
proto_tree_add_item() calls. svn path=/trunk/; revision=42483
Diffstat (limited to 'epan/dissectors/packet-eth.c')
-rw-r--r--epan/dissectors/packet-eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c
index debcb33027..280a59a495 100644
--- a/epan/dissectors/packet-eth.c
+++ b/epan/dissectors/packet-eth.c
@@ -534,7 +534,7 @@ add_ethernet_trailer(packet_info *pinfo, proto_tree *tree, proto_tree *fh_tree,
if (padding_length > 0) {
tvb_ensure_bytes_exist(tvb, 0, padding_length);
proto_tree_add_item(fh_tree, hf_eth_padding, trailer_tvb, 0,
- padding_length, FALSE);
+ padding_length, ENC_NA);
trailer_length -= padding_length;
trailer_reported_length -= padding_length;
}
@@ -601,7 +601,7 @@ add_ethernet_trailer(packet_info *pinfo, proto_tree *tree, proto_tree *fh_tree,
if (trailer_length != 0) {
tvb_ensure_bytes_exist(tvb, 0, trailer_length);
proto_tree_add_item(fh_tree, trailer_id, real_trailer_tvb, 0,
- trailer_length, FALSE);
+ trailer_length, ENC_NA);
}
}
}