summaryrefslogtreecommitdiff
path: root/lib/odp-util.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-09-15 13:26:08 -0700
committerBen Pfaff <blp@nicira.com>2010-09-15 13:26:46 -0700
commita77d89b84ad05d880f9ad7c5b5bd3f7d221d76f3 (patch)
treeaffb17f1d0335c7b8c697d4dcb472cb58948827c /lib/odp-util.c
parent92467099ee05b930b060d34d05b81bb1322e6fbf (diff)
downloadopenvswitch-a77d89b84ad05d880f9ad7c5b5bd3f7d221d76f3.tar.gz
Properly print drop_spoofed_arp actions when decoding OpenFlow and ODP.
Also fix formatting of unknown Nicira actions in OpenFlow.
Diffstat (limited to 'lib/odp-util.c')
-rw-r--r--lib/odp-util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/odp-util.c b/lib/odp-util.c
index 442c939a7..798e42540 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -95,6 +95,9 @@ format_odp_action(struct ds *ds, const union odp_action *a)
case ODPAT_POP_PRIORITY:
ds_put_cstr(ds, "pop_priority");
break;
+ case ODPAT_DROP_SPOOFED_ARP:
+ ds_put_cstr(ds, "drop_spoofed_arp");
+ break;
default:
ds_put_format(ds, "***bad action 0x%"PRIx16"***", a->type);
break;