diff options
Diffstat (limited to 'src/broadcom/cle/gen_pack_header.py')
-rw-r--r-- | src/broadcom/cle/gen_pack_header.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/broadcom/cle/gen_pack_header.py b/src/broadcom/cle/gen_pack_header.py index 528ff8fa439..1ebeec7a794 100644 --- a/src/broadcom/cle/gen_pack_header.py +++ b/src/broadcom/cle/gen_pack_header.py @@ -383,8 +383,8 @@ class Parser(object): def start_element(self, name, attrs): if name == "vcxml": - self.platform = "V3D {}".format(attrs["ver"]) - self.ver = attrs["ver"].replace('.', '') + self.platform = "V3D {}".format(attrs["gen"]) + self.ver = attrs["gen"].replace('.', '') print(pack_header % {'license': license, 'platform': self.platform, 'guard': self.gen_guard()}) elif name in ("packet", "struct", "register"): default_field = None |