Remove NXAST_DROP_SPOOFED_ARP action.
[sliver-openvswitch.git] / lib / ofp-util.c
index df2f21d..750918d 100644 (file)
@@ -104,7 +104,7 @@ static const flow_wildcards_t WC_INVARIANTS = 0
 /* Converts the wildcard in 'ofpfw' into a flow_wildcards in 'wc' for use in
  * struct cls_rule.  It is the caller's responsibility to handle the special
  * case where the flow match's dl_vlan is set to OFP_VLAN_NONE. */
-static void
+void
 ofputil_wildcard_from_openflow(uint32_t ofpfw, struct flow_wildcards *wc)
 {
     /* Initialize most of rule->wc. */
@@ -1864,7 +1864,6 @@ check_nicira_action(const union ofp_action *a, unsigned int len,
     switch ((enum nx_action_subtype) subtype) {
     case NXAST_RESUBMIT:
     case NXAST_SET_TUNNEL:
-    case NXAST_DROP_SPOOFED_ARP:
     case NXAST_SET_QUEUE:
     case NXAST_POP_QUEUE:
         return check_nx_action_exact_len(nah, len, 16);
@@ -1909,6 +1908,7 @@ check_nicira_action(const union ofp_action *a, unsigned int len,
         return autopath_check((const struct nx_action_autopath *) a);
 
     case NXAST_SNAT__OBSOLETE:
+    case NXAST_DROP_SPOOFED_ARP__OBSOLETE:
     default:
         VLOG_WARN_RL(&bad_ofmsg_rl,
                      "unknown Nicira vendor action subtype %d", subtype);