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:11:24 +0000 (13:11 -0700)
commit5d1c81890c21a2a400da469750c0fb18c545387d
tree538c80b8a818bb0b9d29cae8a1d771c3a048d77e
parentab645c8e0b06654b34d0e6b14a34ea0071a4e121
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