openflow: Split OFPAT_* into OFPAT10_* and OFPAT11_*.
[openvswitch] / lib / learn.c
index d749ce2ceba505b0b9a27dfa3b56b77260c394d7..9ca8b65a3e152a5bdb2747697f67632c861e6639 100644 (file)
@@ -255,7 +255,7 @@ learn_execute(const struct nx_action_learn *learn, const struct flow *flow,
             break;
 
         case NX_LEARN_DST_OUTPUT:
-            ofputil_put_OFPAT_OUTPUT(&actions)->port = htons(value);
+            ofputil_put_OFPAT10_OUTPUT(&actions)->port = htons(value);
             break;
         }
     }