ofproto: Don't send async messages on transient connections by default.
authorBen Pfaff <blp@nicira.com>
Thu, 6 May 2010 00:08:28 +0000 (17:08 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 11 May 2010 19:42:07 +0000 (12:42 -0700)
commitc91248b3ab3f75070c7985fe723f54437cb8848e
treea7643438b877bcb925f83688015c93d827161d5f
parent89b9612d11e6ff92b176d9674983721c8c9fd3b0
ofproto: Don't send async messages on transient connections by default.

ofproto supports listening for "transient connections" from clients such
as ovs-ofctl.  These OpenFlow connections are not supposed to receive
asynchronous messages by default, unless they ask for them by setting an
nonzero packet-in send length.  This feature got broken some time back.
This commit fixes it.
ofproto/ofproto.c