summaryrefslogtreecommitdiff
path: root/ofproto/fail-open.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2013-10-22 16:32:13 -0700
committerBen Pfaff <blp@nicira.com>2013-10-22 21:12:06 -0700
commitd38a3c7b8eb5d341c9e27b74b4a459dee284f770 (patch)
tree81c7196eefdefe43564e681e00b30068c59c2b5f /ofproto/fail-open.c
parentf11c7538ba3d4d9fbaabd66457f1c20e95467b1c (diff)
downloadopenvswitch-d38a3c7b8eb5d341c9e27b74b4a459dee284f770.tar.gz
connmgr: Move send_len from ofputil_packet_in to ofproto_packet_in.
send_len is not directly part of the OpenFlow packet_in message, at least given that it is partially redundant with packet_len. send_len is, rather, a request to the connmgr that expresses how many bytes the action requested be sent to the controller, but the connmgr cannot always honor it. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/fail-open.c')
-rw-r--r--ofproto/fail-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/fail-open.c b/ofproto/fail-open.c
index 40859a4e8..b0caf8d63 100644
--- a/ofproto/fail-open.c
+++ b/ofproto/fail-open.c
@@ -128,8 +128,8 @@ send_bogus_packet_ins(struct fail_open *fo)
pin.up.packet = b.data;
pin.up.packet_len = b.size;
pin.up.reason = OFPR_NO_MATCH;
- pin.up.send_len = b.size;
pin.up.fmd.in_port = OFPP_LOCAL;
+ pin.send_len = b.size;
connmgr_send_packet_in(fo->connmgr, &pin);
ofpbuf_uninit(&b);