From: Ben Pfaff Date: Fri, 27 Feb 2009 00:19:39 +0000 (-0800) Subject: dpctl: Fix assertion failure when second argument given to "dpctl status". X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8afa2d1df052d72a33f4342cb03e60892c259281;p=openvswitch dpctl: Fix assertion failure when second argument given to "dpctl status". --- diff --git a/utilities/dpctl.c b/utilities/dpctl.c index 60341276..60c5f189 100644 --- a/utilities/dpctl.c +++ b/utilities/dpctl.c @@ -489,6 +489,7 @@ do_status(const struct settings *s UNUSED, int argc, char *argv[]) request->subtype = htonl(NXT_STATUS_REQUEST); if (argc > 2) { ofpbuf_put(b, argv[2], strlen(argv[2])); + update_openflow_length(b); } open_vconn(argv[1], &vconn); run(vconn_transact(vconn, b, &b), "talking to %s", argv[1]);