Signed-off-by: Isaku Yamahata <yamah...@valinux.co.jp>
---
 ofproto/ofproto-dpif.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index 641eab0..4783b7f 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -5575,9 +5575,11 @@ do_xlate_action(const struct ofpact *a, struct 
action_xlate_ctx *ctx)
         xlate_fin_timeout(ctx, ofpact_get_FIN_TIMEOUT(a));
         break;
 
-    case OFPACT_APPLY_ACTIONS:
-        do_xlate_actions__(ofpact_get_APPLY_ACTIONS(a)->ofpacts, ctx);
+    case OFPACT_APPLY_ACTIONS: {
+        struct ofpact_inst_actions *oia = ofpact_get_APPLY_ACTIONS(a);
+        do_xlate_actions__(oia->ofpacts, oia->ofpacts_len, ctx);
         break;
+    }
 
     case OFPACT_CLEAR_ACTIONS:
     case OFPACT_WRITE_ACTIONS:
-- 
1.7.1.1

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to