diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-21 02:10:19 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-21 02:10:19 +0000 |
commit | 794757ae8fbee85db2b24bc46b7e9cc492de01df (patch) | |
tree | a955184a13d8444bdec0de9200f261c46cfa2734 /asn1/goose | |
parent | 449d732485da5a19b8a0d3ddef49ed30498712ff (diff) | |
download | wireshark-794757ae8fbee85db2b24bc46b7e9cc492de01df.tar.gz wireshark-794757ae8fbee85db2b24bc46b7e9cc492de01df.tar.bz2 wireshark-794757ae8fbee85db2b24bc46b7e9cc492de01df.zip |
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files.
svn path=/trunk/; revision=39503
Diffstat (limited to 'asn1/goose')
-rw-r--r-- | asn1/goose/packet-goose-template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/goose/packet-goose-template.c b/asn1/goose/packet-goose-template.c index 1d218e3e75..80cd0a478b 100644 --- a/asn1/goose/packet-goose-template.c +++ b/asn1/goose/packet-goose-template.c @@ -72,7 +72,7 @@ dissect_goose(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); if (parent_tree){ - item = proto_tree_add_item(parent_tree, proto_goose, tvb, 0, -1, FALSE); + item = proto_tree_add_item(parent_tree, proto_goose, tvb, 0, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_goose); } col_set_str(pinfo->cinfo, COL_PROTOCOL, PNAME); @@ -153,6 +153,6 @@ void proto_reg_handoff_goose(void) { dissector_handle_t goose_handle; goose_handle = find_dissector("goose"); - + dissector_add_uint("ethertype", ETHERTYPE_IEC61850_GOOSE, goose_handle); } |