From 92467099ee05b930b060d34d05b81bb1322e6fbf Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 15 Sep 2010 12:47:10 -0700 Subject: [PATCH] ofp-util: Also accept NXAST_DROP_SPOOFED_ARP. Reported-by: Bryan Fulton Reported-by: Michael Mao Bug #3655. --- AUTHORS | 1 + lib/ofp-util.c | 1 + 2 files changed, 2 insertions(+) diff --git a/AUTHORS b/AUTHORS index bf0e3427..9e1dfa0b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -33,6 +33,7 @@ The following additional people are mentioned in commit logs as having provided helpful bug reports or suggestions. Brandon Heller brandonh@stanford.edu +Bryan Fulton bryan@nicira.com Cedric Hobbs cedric@nicira.com Ghanem Bahri bahri.ghanem@gmail.com Henrik Amren henrik@nicira.com diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 89f36895..5171900a 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -564,6 +564,7 @@ check_nicira_action(const union ofp_action *a, unsigned int len) switch (ntohs(nah->subtype)) { case NXAST_RESUBMIT: case NXAST_SET_TUNNEL: + case NXAST_DROP_SPOOFED_ARP: return check_action_exact_len(a, len, 16); default: return ofp_mkerr(OFPET_BAD_ACTION, OFPBAC_BAD_VENDOR_TYPE); -- 2.30.2