ofputil: Accept OFPP_NONE as a valid output port.
authorEthan Jackson <ethan@nicira.com>
Thu, 10 May 2012 18:24:36 +0000 (11:24 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 10 May 2012 18:24:36 +0000 (11:24 -0700)
commit0d193212d68162b482d1d0a3190d9c07e8140fac
tree4a6864df07825571083e2ff1d8e754241b23cc04
parent4acbc98d3c61432e9138215e84ae91e32902d301
ofputil: Accept OFPP_NONE as a valid output port.

Ofproto-dpif treats an output to OFPP_NONE as a NOOP, but ofputil
treated it as an error.  The former behavior seems more natural.

Reported-by: Teemu Koponen <koponen@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/ofp-util.c