From ddc627ad44758181661ab0bafe77632b620d6f32 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Wed, 30 Oct 2013 18:17:11 +0900 Subject: [PATCH] ofproto: Advertise all supported OpenFlow actions in group features Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- ofproto/ofproto.c | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.45.2