X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto.c;h=2e1530a3f99768222a0c6ea736b730c9dc73389a;hb=401eeb92d32ac0fa07f34f5b803d67b8032b6403;hp=91ff02388c3b09d72d8c0a45a7317437c01558f9;hpb=e5ae7df8c7f44cb2d6f42daaab1d3c26c7a88ae3;p=sliver-openvswitch.git diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 91ff02388..2e1530a3f 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2631,6 +2631,12 @@ xlate_nicira_action(struct action_xlate_ctx *ctx, ctx->flow.tun_id = oa->tunnel.tun_id = nast->tun_id; break; + case NXAST_DROP_SPOOFED_ARP: + if (ctx->flow.dl_type == htons(ETH_TYPE_ARP)) { + odp_actions_add(ctx->out, ODPAT_DROP_SPOOFED_ARP); + } + break; + /* If you add a new action here that modifies flow data, don't forget to * update the flow key in ctx->flow at the same time. */