mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
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>
This commit is contained in:
@@ -3309,6 +3309,7 @@ ofputil_check_output_port(uint16_t port, int max_ports)
|
||||
case OFPP_FLOOD:
|
||||
case OFPP_ALL:
|
||||
case OFPP_CONTROLLER:
|
||||
case OFPP_NONE:
|
||||
case OFPP_LOCAL:
|
||||
return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user