diff options
author | Michael Mann <mmann78@netscape.net> | 2015-05-06 22:47:12 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-05-07 06:07:37 +0000 |
commit | f735d4b3ec09c96825f4e5ca0bd1c3794f264da9 (patch) | |
tree | db1372da587986f019a42a68d870da3d4ec529b4 /tools/wireshark_gen.py | |
parent | 718e900824bc50624ab9e0e9b83f5e05f7049619 (diff) |
Need to generate hf_ variable for aliases in structs.
Change-Id: I6bd995d42cf54aaf2ad90d0322056c7ff0830ea9
Ping-Bug: 11156
Reviewed-on: https://code.wireshark.org/review/8324
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'tools/wireshark_gen.py')
-rwxr-xr-x | tools/wireshark_gen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/wireshark_gen.py b/tools/wireshark_gen.py index 8286b9ba6d..fb86de4592 100755 --- a/tools/wireshark_gen.py +++ b/tools/wireshark_gen.py @@ -373,7 +373,8 @@ class wireshark_gen_C: sname = self.namespace(st, "_") for m in st.members(): - if ((self.isSeqNativeType(m.memberType())) or (m.memberType().unalias().kind() == idltype.tk_sequence)): + if ((self.isSeqNativeType(m.memberType())) or (m.memberType().unalias().kind() == idltype.tk_sequence) or \ + (m.memberType().unalias().kind() == idltype.tk_alias)): for decl in m.declarators(): if (m.memberType().unalias().kind() == idltype.tk_sequence): self.st.out(self.template_hf, name=sname + "_" + decl.identifier() + "_loop") |