X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-ofctl.c;h=2343240bb87095a0681ac445ee75a3a8f6685e30;hb=1a126c0c6803db4e6c16ddc0a3369a6ad197d238;hp=13dd0e3c339a0f9ff6659cfa4cb1f708e46c4184;hpb=688e86e1d09ee779c3a3e0abf1e969e85f9e91c6;p=openvswitch diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c index 13dd0e3c..2343240b 100644 --- a/utilities/ovs-ofctl.c +++ b/utilities/ovs-ofctl.c @@ -1440,8 +1440,8 @@ ofctl_probe(int argc OVS_UNUSED, char *argv[]) struct vconn *vconn; struct ofpbuf *reply; - request = make_echo_request(); open_vconn(argv[1], &vconn); + request = make_echo_request(vconn_get_version(vconn)); run(vconn_transact(vconn, request, &reply), "talking to %s", argv[1]); if (reply->size != sizeof(struct ofp_header)) { ovs_fatal(0, "reply does not match request");