commit | 070075b0e7728f68efedfc00eeea13f4de5eeae7 | [log] [tgz] |
---|---|---|
author | abat <abat@bigswitch.com> | Fri Sep 26 13:29:41 2014 -0700 |
committer | abat <abat@bigswitch.com> | Fri Sep 26 13:29:41 2014 -0700 |
tree | 553a48a9705a05a0ced8e39419531f3ba81529af | |
parent | 3045255e245f08abd2bf45384363bd54028f4f73 [diff] | |
parent | 5f9931f380ab20dcc96a9914acde356941d70c5e [diff] |
Merge into master from pull request #314: wireshark: make enums global instead of local (https://github.com/floodlight/loxigen/pull/314)
diff --git a/wireshark_gen/templates/openflow.lua b/wireshark_gen/templates/openflow.lua index 9ce51d2..ef826c1 100644 --- a/wireshark_gen/templates/openflow.lua +++ b/wireshark_gen/templates/openflow.lua
@@ -52,7 +52,7 @@ :: for version, ofproto in ir.items(): :: for enum in ofproto.enums: -local enum_v${version.wire_version}_${enum.name} = { +enum_v${version.wire_version}_${enum.name} = { :: for (name, value) in enum.values: [${value}] = "${name}", :: #endfor