ofproto: Advertise all supported OpenFlow actions in group features
[sliver-openvswitch.git] / ofproto / ofproto.c
index 4fb7e4f..b626a6c 100644 (file)
@@ -531,6 +531,10 @@ ofproto_create(const char *datapath_name, const char *datapath_type,
     ovs_rwlock_init(&ofproto->groups_rwlock);
     hmap_init(&ofproto->groups);
     ovs_mutex_unlock(&ofproto_mutex);
+    ofproto->ogf.actions[0] =
+#define OFPAT11_ACTION(ENUM, STRUCT, EXTENSIBLE, NAME) (1 << ENUM) |
+#include "ofp-util.def"
+    0;
 
     error = ofproto->ofproto_class->construct(ofproto);
     if (error) {