diff options
author | Simon Horman <horms@verge.net.au> | 2012-08-01 16:01:47 +0900 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-08-06 22:27:40 -0700 |
commit | a0ae0b6e8360116c8843325922c3346ab8f208c7 (patch) | |
tree | 16c5f366fadccbd98ee5b6929c2372b62fd8df33 /lib/vconn.c | |
parent | 717e7c8d1d9715f7177b7bf32c3158a8cca503d8 (diff) |
ofp-util: Allow encoding of Open Flow 1.1 & 1.2 Barrier Request Messages
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/vconn.c')
-rw-r--r-- | lib/vconn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vconn.c b/lib/vconn.c index cbe3c771..b2d81e93 100644 --- a/lib/vconn.c +++ b/lib/vconn.c @@ -756,7 +756,7 @@ vconn_transact_noreply(struct vconn *vconn, struct ofpbuf *request, } /* Send barrier. */ - barrier = ofputil_encode_barrier_request(); + barrier = ofputil_encode_barrier_request(vconn_get_version(vconn)); barrier_xid = ((struct ofp_header *) barrier->data)->xid; error = vconn_send_block(vconn, barrier); if (error) { |