X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=utilities%2Fovs-ofctl.c;h=8be862686b18ff70ba6916592fd54b892cf3144f;hb=cfc50ae514f805dcd9c14589f21158185424daf6;hp=d2d0687ffa28749f4771da824cc144af46bb03ee;hpb=1f317cb5c2aa446c4b0252634a4a70dcc3682f93;p=sliver-openvswitch.git diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c index d2d0687ff..8be862686 100644 --- a/utilities/ovs-ofctl.c +++ b/utilities/ovs-ofctl.c @@ -1964,7 +1964,7 @@ ofctl_ping(int argc, char *argv[]) if (ofptype_pull(&type, reply) || type != OFPTYPE_ECHO_REPLY || ofpbuf_size(reply) != payload - || memcmp(ofpbuf_get_l3(request), ofpbuf_get_l3(reply), payload)) { + || memcmp(ofpbuf_l3(request), ofpbuf_l3(reply), payload)) { printf("Reply does not match request. Request:\n"); ofp_print(stdout, request, ofpbuf_size(request), verbosity + 2); printf("Reply:\n"); @@ -2396,7 +2396,7 @@ recv_flow_stats_reply(struct vconn *vconn, ovs_be32 send_xid, return true; case EOF: - more = ofpmp_more(reply->l2); + more = ofpmp_more(reply->frame); ofpbuf_delete(reply); reply = NULL; if (!more) {