2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

Properly print drop_spoofed_arp actions when decoding OpenFlow and ODP.

Also fix formatting of unknown Nicira actions in OpenFlow.
This commit is contained in:
Ben Pfaff
2010-09-15 13:26:08 -07:00
parent 92467099ee
commit a77d89b84a
2 changed files with 8 additions and 1 deletions

View File

@@ -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;