loci: initialize match for OF 1.4
diff --git a/c_gen/c_code_gen.py b/c_gen/c_code_gen.py
index 12ceff6..37063af 100644
--- a/c_gen/c_code_gen.py
+++ b/c_gen/c_code_gen.py
@@ -1700,8 +1700,7 @@
# Init length field for match object
out.write("""
/* Initialize match TLV for 1.2 */
- /* FIXME: Check 1.3 below */
- if ((version == OF_VERSION_1_2) || (version == OF_VERSION_1_3)) {
+ if ((version >= OF_VERSION_1_2)) {
of_object_u16_set((of_object_t *)obj, %(match_offset)d + 2, 4);
}
""" % dict(match_offset=match_offset))