ofproto-dpif-xlate: Fix handling of write_actions(group(5),output(10)).
authorBen Pfaff <blp@nicira.com>
Thu, 23 Jul 2015 22:45:05 +0000 (15:45 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 24 Jul 2015 20:04:21 +0000 (13:04 -0700)
commit9055ca9a21f6667d33ea0cd20961a8e2cace059e
tree4dbf036c05e59b2af8b76b5cbea52070d72efb1e
parent2338727d30a0ea89ae0f4b0f4fd077eec51acd3c
ofproto-dpif-xlate: Fix handling of write_actions(group(5),output(10)).

This keeps actset_output as OFPP_UNSET in the special case where a single
write_actions() contains a group action followed by an output action.  The
presumably more common case where instructions in separate action lists
contained output and group actions was already properly handled.

Without the fix added by this commit, the test case as updated by this
commit fails.

Found by inspection.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
ofproto/ofproto-dpif-xlate.c
tests/ofproto-dpif.at