git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git]
/
epan
/
dissectors
/
packet-json.c
diff --git
a/epan/dissectors/packet-json.c
b/epan/dissectors/packet-json.c
index 3a9bea071e457ddfc1bbb77ddfc4aa6167a2b3b0..c750e667cf5e20a372183633999ca127e9635cfb 100644
(file)
--- a/
epan/dissectors/packet-json.c
+++ b/
epan/dissectors/packet-json.c
@@
-106,7
+106,7
@@
dissect_json(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
if (tree) {
- ti = proto_tree_add_item(tree, proto_json, tvb, 0, -1,
FALSE
);
+ ti = proto_tree_add_item(tree, proto_json, tvb, 0, -1,
ENC_NA
);
json_tree = proto_item_add_subtree(ti, ett_json);
if (data_name)