aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-git.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-git.c')
-rw-r--r--epan/dissectors/packet-git.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-git.c b/epan/dissectors/packet-git.c
index 4f9dedf389..a2700fb624 100644
--- a/epan/dissectors/packet-git.c
+++ b/epan/dissectors/packet-git.c
@@ -90,7 +90,7 @@ dissect_git_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_set_str(pinfo->cinfo, COL_INFO, "Git Smart Protocol");
- ti = proto_tree_add_item(tree, proto_git, tvb, offset, -1, FALSE);
+ ti = proto_tree_add_item(tree, proto_git, tvb, offset, -1, ENC_NA);
git_tree = proto_item_add_subtree(ti, ett_git);
if (!tvb_get_packet_length(tvb, 0, &plen))
@@ -107,7 +107,7 @@ dissect_git_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_uint(git_tree, hf_git_packet_len, tvb, offset,
4, plen);
- proto_tree_add_item(git_tree, hf_git_packet_data, tvb, offset+4,
+ proto_tree_add_item(git_tree, hf_git_packet_data, tvb, offset+4,
plen-4, ENC_NA);
}
}