From: Simon Horman Date: Wed, 30 Oct 2013 09:17:11 +0000 (+0900) Subject: ofproto: Advertise all supported OpenFlow actions in group features X-Git-Tag: sliver-openvswitch-2.0.90-1~6^2~17 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ddc627ad44758181661ab0bafe77632b620d6f32;p=sliver-openvswitch.git ofproto: Advertise all supported OpenFlow actions in group features Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 4fb7e4fb7..b626a6ceb 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -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) {