summaryrefslogtreecommitdiff
path: root/tools/wireshark_gen.py
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-13 00:20:40 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-13 00:20:40 +0000
commit998677339e470b478a5c1e65595273b634d3aaeb (patch)
tree032f21d1db8a2246e50a430cee382a92b3ea5093 /tools/wireshark_gen.py
parent308bb550da27265f8257f771e94c5971a8438261 (diff)
downloadwireshark-998677339e470b478a5c1e65595273b634d3aaeb.tar.gz
Create a new REP_NA value for fields where there are no representations
from which to choose; use that for protocol fields in some protocols (modify the CORBA generator to use it, and manually update the generated CORBA dissectors accordingly). svn path=/trunk/; revision=32777
Diffstat (limited to 'tools/wireshark_gen.py')
-rwxr-xr-xtools/wireshark_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/wireshark_gen.py b/tools/wireshark_gen.py
index 19dd25a06e..d2942e34e4 100755
--- a/tools/wireshark_gen.py
+++ b/tools/wireshark_gen.py
@@ -2145,7 +2145,7 @@ static proto_tree *start_dissecting(tvbuff_t *tvb, packet_info *pinfo, proto_tre
*/
if (ptree) {
- ti = proto_tree_add_item(ptree, proto_@dissname@, tvb, *offset, -1, FALSE);
+ ti = proto_tree_add_item(ptree, proto_@dissname@, tvb, *offset, -1, REP_NA);
tree = proto_item_add_subtree(ti, ett_@dissname@);
}
return tree;