ofp-parse: Use F_OUT_PORT when parsing.
authorJarno Rajahalme <jrajahalme@nicira.com>
Tue, 9 Jun 2015 22:24:33 +0000 (15:24 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 10 Jun 2015 00:08:26 +0000 (17:08 -0700)
commit19ba142220fb109583c181039fb37d8f7aa6ff67
tree9d8ebe9102a65ce2d8377df6d6b11b1a3e659f11
parent3139b8e909d4fdd0a32fa8e3c556966bc4f63ddc
ofp-parse: Use F_OUT_PORT when parsing.

We set this field flag for the cases when an out_port should be
parsed, but failed to make use of it.

Two test cases needed to be updated due to use of out_port in flow
add, while out_port is legal for flow deletes only.

Suggested-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/ofp-parse.c
tests/ovs-ofctl.at