projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nicira-ext: Correct and improve nx_flow_update_abbrev comment.
[openvswitch]
/
lib
/
netlink-socket.c
diff --git
a/lib/netlink-socket.c
b/lib/netlink-socket.c
index 3bdbbd73c70775d05b6a38ae50ae30afe50dcd9a..49a8493eccc54a60c1927f6029108e90f96bad33 100644
(file)
--- a/
lib/netlink-socket.c
+++ b/
lib/netlink-socket.c
@@
-683,7
+683,7
@@
nl_sock_transact(struct nl_sock *sock, const struct ofpbuf *request,
struct nl_transaction *transactionp;
struct nl_transaction transaction;
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;
transaction.reply = replyp ? ofpbuf_new(1024) : NULL;
transactionp = &transaction;