X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvconn.c;h=b2d81e93cc7f8e4e09a0363ed8d3dea4ffcb962b;hb=a0ae0b6e8360116c8843325922c3346ab8f208c7;hp=cbe3c77131d63f2d32a9a4a420bbf1982d74d0a4;hpb=6d1fb217a904374316abdc9050db795129f72a13;p=openvswitch 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) {