Describe dummy test model. Work on OpenFlow intro.
[openvswitch] / lib / netlink-socket.c
index 3bdbbd73c70775d05b6a38ae50ae30afe50dcd9a..49a8493eccc54a60c1927f6029108e90f96bad33 100644 (file)
@@ -683,7 +683,7 @@ nl_sock_transact(struct nl_sock *sock, const struct ofpbuf *request,
     struct nl_transaction *transactionp;
     struct nl_transaction transaction;
 
-    transaction.request = (struct ofpbuf *) request;
+    transaction.request = CONST_CAST(struct ofpbuf *, request);
     transaction.reply = replyp ? ofpbuf_new(1024) : NULL;
     transactionp = &transaction;