nicira-ext: Fix NXM example.
[openvswitch] / lib / ofp-util.h
index adad087d8c3bf21ae3bd08522cbf22f7cd75a732..a9601aa14c1795fbc7e70a1425fe7f5003dc0253 100644 (file)
@@ -301,7 +301,10 @@ enum ofputil_action_code {
     OFPUTIL_NXAST_NOTE,
     OFPUTIL_NXAST_SET_TUNNEL64,
     OFPUTIL_NXAST_MULTIPATH,
-    OFPUTIL_NXAST_AUTOPATH
+    OFPUTIL_NXAST_AUTOPATH,
+    OFPUTIL_NXAST_BUNDLE,
+    OFPUTIL_NXAST_BUNDLE_LOAD,
+    OFPUTIL_NXAST_RESUBMIT_TABLE
 };
 
 int ofputil_decode_action(const union ofp_action *);
@@ -313,7 +316,8 @@ enum ofputil_action_code ofputil_decode_action_unsafe(
 static inline union ofp_action *
 ofputil_action_next(const union ofp_action *a)
 {
-    return (void *) ((uint8_t *) a + ntohs(a->header.len));
+    return ((union ofp_action *) (void *)
+            ((uint8_t *) a + ntohs(a->header.len)));
 }
 
 static inline bool