ofp-actions: Look inside write_actions for output ports and groups.
authorBen Pfaff <blp@ovn.org>
Sun, 29 Nov 2015 18:51:25 +0000 (10:51 -0800)
committerBen Pfaff <blp@ovn.org>
Sun, 29 Nov 2015 18:56:23 +0000 (10:56 -0800)
commit4f20179ddc79843ef89f68d2c8342df0eb69a814
treee119d79e3b4fc06ac6ede537c93f111124c30686
parentfb28ef2d6ef847737176bb601ca99879dfc51f9e
ofp-actions: Look inside write_actions for output ports and groups.

The out_port and out_group matches only looked at apply_actions
instructions, but my interpretation of the OpenFlow spec is that they
should also look inside write_actions.

This affected the output of (and in one case the correctness of) some
tests, so this updates them.

Reported-by: Gavin Remaley <gavin_remaley@selinc.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
AUTHORS
lib/ofp-actions.c
lib/ofp-actions.h
ofproto/ofproto.c
tests/ofproto-dpif.at