LoxiGen: fixup OFP_VLAN_NONE referring to another identifier
diff --git a/loxi_front_end/of_h_utils.py b/loxi_front_end/of_h_utils.py
index 1259a90..26dbac1 100644
--- a/loxi_front_end/of_h_utils.py
+++ b/loxi_front_end/of_h_utils.py
@@ -65,6 +65,9 @@
if ident.find("OFPP_") == 0 and version == of_g.VERSION_1_0:
value_string = "0x%x" % (int(value, 0) + 0xffff0000)
+ if ident == 'OFP_VLAN_NONE' and version > of_g.VERSION_1_0:
+ value_string = '0'
+
# Otherwise, if no reference to a wildcard value, all done
if value_string.find("OFPFW") < 0:
return value_string