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 <[email protected]> Signed-off-by: Ethan Jackson <[email protected]> --- lib/ofp-util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 48be774..bd078c7 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -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; -- 1.7.10 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
