openflow: Split OFPAT_* into OFPAT10_* and OFPAT11_*.
[openvswitch] / ofproto / ofproto.c
index 0d106919b9300403c7f99b81d00e958896b143cd..f9ed23ef87d4818fdc6c7e7ce39e88d641ddb312 100644 (file)
@@ -1864,7 +1864,7 @@ handle_features_request(struct ofconn *ofconn, const struct ofp_header *oh)
     uint32_t actions;
 
     ofproto->ofproto_class->get_features(ofproto, &arp_match_ip, &actions);
-    assert(actions & (1 << OFPAT_OUTPUT)); /* sanity check */
+    assert(actions & (1 << OFPAT10_OUTPUT)); /* sanity check */
 
     osf = make_openflow_xid(sizeof *osf, OFPT_FEATURES_REPLY, oh->xid, &buf);
     osf->datapath_id = htonll(ofproto->datapath_id);