commit | f1a8984bba5e17bf887e91026d005200e54fa912 | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Sun Oct 12 10:04:13 2014 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Sun Oct 12 10:17:57 2014 -0700 |
tree | eae40a2bfed51f475884e0ca8dcc011769a3fa35 | |
parent | 016c040f5b865eca96028148322d24cdd01fab05 [diff] [blame] |
loci: generate version names from OFVersions
diff --git a/c_gen/loxi_utils_legacy.py b/c_gen/loxi_utils_legacy.py index 4472ffa..5d6d1d9 100644 --- a/c_gen/loxi_utils_legacy.py +++ b/c_gen/loxi_utils_legacy.py
@@ -283,7 +283,7 @@ """ Convert an integer version to the C macro name """ - return "OF_" + of_g.version_names[version] + return of_g.of_version_wire2name[version] def gen_c_copy_license(out): """