ovs-ofctl: Use 65535 instead of 0 for OFPP_CONTROLLER max_len.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Jul 2009 20:25:11 +0000 (13:25 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 15 Jul 2009 20:25:11 +0000 (13:25 -0700)
commit080ec396fd98fa6848295a7582c3fbfeb0a3589d
tree28f92528e7cd36e076fa3e0c8cc1566e6077bff4
parent55fa0147b1650557471ae3a042727c3aa04efe11
ovs-ofctl: Use 65535 instead of 0 for OFPP_CONTROLLER max_len.

OpenFlow 0.9 will change the interpretation of a max_len of 0 in an
OFPP_CONTROLLER output action from "send entire packet" to "send 0 bytes
of packet", but ovs-ofctl documents that specifying no argument or "ALL"
as the argument to a CONTROLLER output action sends the whole packet, so
we need to make that happen.
include/openflow/openflow.h
utilities/ovs-ofctl.c